Re: [hackers] [dwm] applied Andreas Amann's patch from Oct 2010, thanks || garbeam

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Mon, 27 Jun 2011 13:32:13 +0100

Hey Benjamin,

Does this patch from Mikhail Gonchar fix the issue?

Thanks,
cls

diff -r 014df3c34b64 dwm.c
--- a/dwm.c Sat Jun 25 09:07:28 2011 +0100
+++ b/dwm.c Sun Jun 26 10:22:08 2011 +0600
@@ -42,7 +42,7 @@

 /* macros */
 #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask)
-#define CLEANMASK(mask) (mask &
(ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask))
+#define CLEANMASK(mask) (mask & ~numlockmask &
(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 Mon Jun 27 2011 - 14:32:13 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 27 2011 - 14:36:05 CEST