Commit 83116c1c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB/window: really handle media keys

parent afe0a0c2
...@@ -162,8 +162,6 @@ static int ConvertKeySym (xcb_keysym_t sym) ...@@ -162,8 +162,6 @@ static int ConvertKeySym (xcb_keysym_t sym)
return KEY_SPACE; return KEY_SPACE;
if (isascii(sym)) if (isascii(sym))
return sym; return sym;
if (sym > XK_Delete)
return KEY_UNSET;
/* Special keys */ /* Special keys */
res = bsearch (&sym, tab, sizeof (tab) / sizeof (tab[0]), sizeof (tab[0]), res = bsearch (&sym, tab, sizeof (tab) / sizeof (tab[0]), sizeof (tab[0]),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment