changeset: 1553:79fe8e97dcf7
tag: tip
user: garbeam_AT_gmail.com
date: Fri Jun 24 21:02:32 2011 +0100
files: dwm.c
description:
applied Andreas Amann's patch from Oct 2010, thanks
diff -r faaef3b7272c -r 79fe8e97dcf7 dwm.c
--- a/dwm.c Fri Jun 17 20:22:54 2011 +0100
+++ b/dwm.c Fri Jun 24 21:02:32 2011 +0100
@@ -42,7 +42,7 @@
/* macros */
#define BUTTONMASK (ButtonPressMask|ButtonReleaseMask)
-#define CLEANMASK(mask) (mask & ~(numlockmask|LockMask))
+#define CLEANMASK(mask) (mask & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask))
#define INRECT(X,Y,RX,RY,RW,RH) ((X) >= (RX) && (X) < (RX) + (RW) && (Y) >= (RY) && (Y) < (RY) + (RH))
#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags]))
#define LENGTH(X) (sizeof X / sizeof X[0])
Received on Fri Jun 24 2011 - 22:02:37 CEST
This archive was generated by hypermail 2.2.0 : Fri Jun 24 2011 - 22:12:05 CEST