compile fix
anselm@garbe.us unknown
Sat, 17 Nov 2012 19:12:10 +0100
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -1069,7 +1069,7 @@ KeySym keysym;
XKeyEvent *ev; ev = &e->xkey; - if(usexkb) { + if(usexkb) keysym = XkbKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0, 0); else keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0);@@ -1636,7 +1636,7 @@ |EnterWindowMask|LeaveWindowMask|StructureNotifyMask|PropertyChangeMask;
XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa); XSelectInput(dpy, root, wa.event_mask); /* init xkb */ - usexkb = XkbQueryExtension(dpy, &dummy, &dummy, &dummy, &xkb_major, &xkb_minor); + usexkb = XkbQueryExtension(dpy, &dummy, &dummy, &dummy, &xkbmajor, &xkbminor); grabkeys(); }