summaryrefslogtreecommitdiff
path: root/src/core/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/display.c')
-rw-r--r--src/core/display.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/display.c b/src/core/display.c
index a7ace1b7..584ca098 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -2805,11 +2805,7 @@ key_event_description (Display *xdisplay,
KeySym keysym;
const char *str;
-#ifdef HAVE_XKB
- keysym = XkbKeycodeToKeysym (xdisplay, event->xkey.keycode, 0, 0);
-#else
keysym = XKeycodeToKeysym (xdisplay, event->xkey.keycode, 0);
-#endif
str = XKeysymToString (keysym);