summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r--src/core/keybindings.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 07384b22..8dda13cd 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -1273,11 +1273,7 @@ meta_display_process_key_event (MetaDisplay *display,
/* window may be NULL */
-#ifdef HAVE_XKB
- keysym = XkbKeycodeToKeysym (display->xdisplay, event->xkey.keycode, 0, 0);
-#else
keysym = XKeycodeToKeysym (display->xdisplay, event->xkey.keycode, 0);
-#endif
str = XKeysymToString (keysym);