From c9194b4297f23cf06c13e122f55a90dc12ef5003 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 2 Aug 2011 10:47:03 +0200 Subject: [PATCH] Bugfix: Correctly bind on multiple keycodes if a symbol has more than one (Thanks ubitux) --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++); } }