From 128c4deca92fec57d4344d451a6a1f1e975627b2 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 31 Aug 2009 15:29:16 +0200 Subject: [PATCH] key: fix wrong group with mode switch (FS#537) Signed-off-by: Julien Danjou --- key.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/key.c b/key.c index 9be9cd759..4d80715b1 100644 --- a/key.c +++ b/key.c @@ -878,8 +878,8 @@ key_getkeysym(xcb_keycode_t detail, uint16_t state) */ if(state & globalconf.modeswitchmask) { - k0 = xcb_key_symbols_get_keysym(globalconf.keysyms, detail, 2); - k1 = xcb_key_symbols_get_keysym(globalconf.keysyms, detail, 3); + k0 = xcb_key_symbols_get_keysym(globalconf.keysyms, detail, 4); + k1 = xcb_key_symbols_get_keysym(globalconf.keysyms, detail, 5); } else {