From: Michael Stapelberg Date: Tue, 2 Aug 2011 08:47:03 +0000 (+0200) Subject: Bugfix: Correctly bind on multiple keycodes if a symbol has more than one (Thanks... X-Git-Tag: 4.0.2~72^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9194b4297f23cf06c13e122f55a90dc12ef5003;p=i3%2Fi3 Bugfix: Correctly bind on multiple keycodes if a symbol has more than one (Thanks ubitux) --- 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++); } }