[hackers] [dwm] compile fix || anselm

From: <hg_AT_suckless.org>
Date: Sat, 17 Nov 2012 19:12:00 +0100 (CET)

changeset: 1609:9fb8fab40956
tag: tip
user: anselm_AT_garbe.us
date: Sat Nov 17 19:12:10 2012 +0100
files: dwm.c
description:
compile fix


diff -r bb7e1fb88f18 -r 9fb8fab40956 dwm.c
--- a/dwm.c Sat Nov 17 19:10:39 2012 +0100
+++ b/dwm.c Sat Nov 17 19:12:10 2012 +0100
_AT_@ -1069,7 +1069,7 @@
         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);
_AT_@ -1636,7 +1636,7 @@
         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();
 }
 
Received on Sat Nov 17 2012 - 19:12:00 CET

This archive was generated by hypermail 2.3.0 : Sat Nov 17 2012 - 19:12:19 CET