From 6962c804352bd82ee88c0c192971f1316262f6cd Mon Sep 17 00:00:00 2001 From: Gabriel VLASIU Date: Wed, 3 Apr 2013 18:39:35 +0300 Subject: [PATCH] wmbiff: XKeycodeToKeysym is deprecated. --- wmbiff/wmbiff/wmbiff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmbiff/wmbiff/wmbiff.c b/wmbiff/wmbiff/wmbiff.c index c029f1c..35b1fa8 100644 --- a/wmbiff/wmbiff/wmbiff.c +++ b/wmbiff/wmbiff/wmbiff.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include @@ -1084,7 +1084,7 @@ extern void ProcessPendingEvents(void) break; case KeyPress:{ XKeyPressedEvent *xkpe = (XKeyPressedEvent *) & Event; - KeySym ks = XKeycodeToKeysym(display, xkpe->keycode, 0); + KeySym ks = XkbKeycodeToKeysym(display, xkpe->keycode, 0, 0); if (ks > XK_0 && ks < XK_0 + min(9U, num_mailboxes)) { const char *click_action = mbox[ks - XK_1].action; if (click_action != NULL -- 2.11.4.GIT