[Pkg-wmaker-commits] [wmbiff] 12/92: wmbiff: XKeycodeToKeysym is deprecated.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 02:59:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmbiff.
commit c65c9bc0581f7c1b95d339f93bd8f4728f059673
Author: Gabriel VLASIU <gabriel at imhotep.timteh.com>
Date: Wed Apr 3 18:39:35 2013 +0300
wmbiff: XKeycodeToKeysym is deprecated.
---
wmbiff/wmbiff.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmbiff/wmbiff.c b/wmbiff/wmbiff.c
index c029f1c..35b1fa8 100644
--- a/wmbiff/wmbiff.c
+++ b/wmbiff/wmbiff.c
@@ -23,7 +23,7 @@
#include <X11/Xlib.h>
#include <X11/xpm.h>
#include <X11/cursorfont.h>
-#include <X11/keysym.h>
+#include <X11/XKBlib.h>
#include <errno.h>
#include <string.h>
@@ -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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list