Bugfix: Correctly bind on multiple keycodes if a symbol has more than one (Thanks ubitux)

This commit is contained in:
Michael Stapelberg 2011-08-02 10:47:03 +02:00
parent f48a472d46
commit c9194b4297
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ void grab_all_keys(xcb_connection_t *conn, bool bind_mode_switch) {
xcb_keycode_t *walk = bind->translated_to; xcb_keycode_t *walk = bind->translated_to;
for (int i = 0; i < bind->number_keycodes; i++) for (int i = 0; i < bind->number_keycodes; i++)
grab_keycode_for_binding(conn, bind, *walk); grab_keycode_for_binding(conn, bind, *walk++);
} }
} }