key: fix wrong group with mode switch (FS#537)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-31 15:29:16 +02:00
parent 5daab0fb47
commit 128c4deca9

4
key.c
View file

@ -878,8 +878,8 @@ key_getkeysym(xcb_keycode_t detail, uint16_t state)
*/ */
if(state & globalconf.modeswitchmask) if(state & globalconf.modeswitchmask)
{ {
k0 = xcb_key_symbols_get_keysym(globalconf.keysyms, detail, 2); k0 = xcb_key_symbols_get_keysym(globalconf.keysyms, detail, 4);
k1 = xcb_key_symbols_get_keysym(globalconf.keysyms, detail, 3); k1 = xcb_key_symbols_get_keysym(globalconf.keysyms, detail, 5);
} }
else else
{ {