key: prefix XF86 keys names

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-29 11:27:07 +02:00
parent 7d59a773a7
commit f05c1bc86c

2
key.c
View file

@ -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);