mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
key: fix wrong group with mode switch (FS#537)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5daab0fb47
commit
128c4deca9
1 changed files with 2 additions and 2 deletions
4
key.c
4
key.c
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue