]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Correctly bind on multiple keycodes if a symbol has more than one (Thanks...
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Aug 2011 08:47:03 +0000 (10:47 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Aug 2011 08:47:03 +0000 (10:47 +0200)
src/config.c

index 9088e4c64b789a5fa4cab30c697fd80e945f4b23..24af35df3d1f9b8b298c7c03c34ab6b2d70fccf5 100644 (file)
@@ -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++);
         }
 }