allow plain hex keysyms

This commit is contained in:
Sean Pringle
2014-12-30 02:52:38 +10:00
parent 1649f98555
commit 9009b716fb

View File

@@ -323,7 +323,7 @@ configure()
continue; continue;
} }
KeySym keysym = XStringToKeysym(str); KeySym keysym = strncmp("0x", str, 2) == 0 ? strtoul(str, NULL, 16): XStringToKeysym(str);
if (keysym == NoSymbol) if (keysym == NoSymbol)
{ {