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