Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Patch for xneur-0.15 (XKeycodeToKeysym -> XkbKeycodeToKeysym)
diff -r 4d58c4c49abd xneur/lib/main/event.c
--- a/xneur/lib/main/event.c Sun Dec 18 09:40:46 2011 +0300
+++ b/xneur/lib/main/event.c Wed Feb 22 12:03:16 2012 +0900
@@ -18,6 +18,7 @@
*/
#include <X11/keysym.h>
+#include <X11/XKBlib.h>
#include <stdlib.h>
#include <stdio.h>
@@ -141,7 +142,7 @@
return ks;*/
XKeyEvent *e = (XKeyEvent *) &p->event;
- return XKeycodeToKeysym(main_window->display, e->keycode, 0);
+ return XkbKeycodeToKeysym(main_window->display, e->keycode, 0, 0);
}
static int event_get_cur_modifiers(struct _event *p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.