tapplied James Turner's XkbKeycodeToKeysym patch, thanks - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 606b44179dfeec8d31930488aa91c8d4808235a7
 (DIR) parent 20f6917910306bcb5275d726b01b42a3b5e868b4
 (HTM) Author: anselm@garbe.us <unknown>
       Date:   Sat, 23 Jun 2012 20:12:49 +0200
       
       applied James Turner's XkbKeycodeToKeysym patch, thanks
       Diffstat:
         M dwm.c                               |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/dwm.c b/dwm.c
       t@@ -36,6 +36,7 @@
        #include <X11/Xlib.h>
        #include <X11/Xproto.h>
        #include <X11/Xutil.h>
       +#include <X11/XKBlib.h>
        #ifdef XINERAMA
        #include <X11/extensions/Xinerama.h>
        #endif /* XINERAMA */
       t@@ -1085,7 +1086,7 @@ keypress(XEvent *e) {
                XKeyEvent *ev;
        
                ev = &e->xkey;
       -        keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0);
       +        keysym = XkbKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0, 0);
                for(i = 0; i < LENGTH(keys); i++)
                        if(keysym == keys[i].keysym
                        && CLEANMASK(keys[i].mod) == CLEANMASK(ev->state)