key: use right value for no symbol
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ca7af35f8a
commit
ffb5e46492
2
key.c
2
key.c
|
@ -109,7 +109,7 @@ key_getkeysym(xcb_keycode_t detail, uint16_t state)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If the second column does not exists use the first one. */
|
/* If the second column does not exists use the first one. */
|
||||||
if(k1 == XCB_NONE)
|
if(k1 == XCB_NO_SYMBOL)
|
||||||
k1 = k0;
|
k1 = k0;
|
||||||
|
|
||||||
/* The numlock modifier is on and the second KeySym is a keypad
|
/* The numlock modifier is on and the second KeySym is a keypad
|
||||||
|
|
Loading…
Reference in New Issue