From 9009b716fba8e626af4fd05717ab17c2d4fabf02 Mon Sep 17 00:00:00 2001 From: Sean Pringle Date: Tue, 30 Dec 2014 02:52:38 +1000 Subject: [PATCH] allow plain hex keysyms --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 8c688c6..44a19c6 100644 --- a/config.c +++ b/config.c @@ -323,7 +323,7 @@ configure() continue; } - KeySym keysym = XStringToKeysym(str); + KeySym keysym = strncmp("0x", str, 2) == 0 ? strtoul(str, NULL, 16): XStringToKeysym(str); if (keysym == NoSymbol) {