From: David Coppa Date: Wed, 30 May 2012 09:11:08 +0000 (+0200) Subject: Replace deprecated XKeycodeToKeysym() with XkbKeycodeToKeysym() X-Git-Tag: 4.3~222^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7a67938f3ce7dfe51eb60b9873946e120184195d;p=i3%2Fi3 Replace deprecated XKeycodeToKeysym() with XkbKeycodeToKeysym() --- diff --git a/i3-config-wizard/cfgparse.y b/i3-config-wizard/cfgparse.y index bbe11937..e5a86868 100644 --- a/i3-config-wizard/cfgparse.y +++ b/i3-config-wizard/cfgparse.y @@ -13,6 +13,7 @@ #include #include +#include #include "libi3.h" @@ -139,7 +140,7 @@ bindcode: * more likely for special characters). */ level = 1; } - KeySym sym = XKeycodeToKeysym(dpy, $4, level); + KeySym sym = XkbKeycodeToKeysym(dpy, $4, 0, level); char *str = XKeysymToString(sym); char *modifiers = modifier_to_string($3); // TODO: modifier to string