diff options
author | anselm@garbe.us <unknown> | 2012-11-17 19:12:10 +0100 |
---|---|---|
committer | anselm@garbe.us <unknown> | 2012-11-17 19:12:10 +0100 |
commit | 31451c3ad36cac5275d9a67c24d45887a9810114 (patch) | |
tree | affe019b5e0180f537a1b3563320152784e31405 /dwm.c | |
parent | 344f35f9f55b615e5d7c46f863578f1cc974cc54 (diff) | |
download | dwm-31451c3ad36cac5275d9a67c24d45887a9810114.tar.gz dwm-31451c3ad36cac5275d9a67c24d45887a9810114.tar.bz2 dwm-31451c3ad36cac5275d9a67c24d45887a9810114.zip |
compile fix
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } |