XCB/window: really handle media keys
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 21 May 2009 15:27:30 +0000 (18:27 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 21 May 2009 15:27:30 +0000 (18:27 +0300)
modules/video_output/xcb/keys.c

index 21491fe..3ea3375 100644 (file)
@@ -162,8 +162,6 @@ static int ConvertKeySym (xcb_keysym_t sym)
         return KEY_SPACE;
     if (isascii(sym))
         return sym;
         return KEY_SPACE;
     if (isascii(sym))
         return sym;
-    if (sym > XK_Delete)
-        return KEY_UNSET;
 
     /* Special keys */
     res = bsearch (&sym, tab, sizeof (tab) / sizeof (tab[0]), sizeof (tab[0]),
 
     /* Special keys */
     res = bsearch (&sym, tab, sizeof (tab) / sizeof (tab[0]), sizeof (tab[0]),