diff --git a/src/config.c b/src/config.c index 9088e4c6..24af35df 100644 --- a/src/config.c +++ b/src/config.c @@ -141,7 +141,7 @@ void grab_all_keys(xcb_connection_t *conn, bool bind_mode_switch) { xcb_keycode_t *walk = bind->translated_to; for (int i = 0; i < bind->number_keycodes; i++) - grab_keycode_for_binding(conn, bind, *walk); + grab_keycode_for_binding(conn, bind, *walk++); } }