key: prefix XF86 keys names
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7d59a773a7
commit
f05c1bc86c
2
key.c
2
key.c
|
@ -717,7 +717,7 @@ keysym_to_xf86(char *buf, ssize_t len, const xcb_keysym_t ksym)
|
|||
{
|
||||
switch(ksym)
|
||||
{
|
||||
#define CASE(k) case XF86XK_##k: a_strcpy(buf, len, #k); return true
|
||||
#define CASE(k) case XF86XK_##k: a_strcpy(buf, len, "XF86"); a_strcat(buf, len, #k); return true
|
||||
CASE(ModeLock);
|
||||
CASE(MonBrightnessUp);
|
||||
CASE(MonBrightnessDown);
|
||||
|
|
Loading…
Reference in New Issue