compile fix

This commit is contained in:
anselm@garbe.us 2012-11-17 19:12:10 +01:00
parent 344f35f9f5
commit 31451c3ad3
1 changed files with 2 additions and 2 deletions

4
dwm.c
View File

@ -1069,7 +1069,7 @@ keypress(XEvent *e) {
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 @@ setup(void) {
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();
}