summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-10-24 16:45:45 +0200
committerinfirit <[email protected]>2014-10-24 16:46:55 +0200
commit4134fe7aaf52512403e5a1319ed61fab0ce288d8 (patch)
tree72c67c5024af82b3244af076f4ae07ea8edcc8ca /src/core/keybindings.c
parenteac511111f4e818d1002a64c3c94c33e90d860c9 (diff)
downloadmarco-4134fe7aaf52512403e5a1319ed61fab0ce288d8.tar.bz2
marco-4134fe7aaf52512403e5a1319ed61fab0ce288d8.tar.xz
keybindings.c: fix deprecated warning
Based on metacity commit: 8f49828169efb43976e23dd15c6dc4d630346f50
Diffstat (limited to 'src/core/keybindings.c')
-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;