[metacity] keybindings.c: fix deprecated warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] keybindings.c: fix deprecated warning
- Date: Wed, 4 Jun 2014 15:49:39 +0000 (UTC)
commit 8f49828169efb43976e23dd15c6dc4d630346f50
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Jun 4 18:45:39 2014 +0300
keybindings.c: fix deprecated warning
src/core/keybindings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 0f79a27..a2a4659 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -1326,7 +1326,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]