tfix numlock (thanks mikhail) - dwm - [fork] customized build of dwm, the dynam… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 212f417e44f631d406d65156b0d244f60598b8cc | |
parent 3a392b855882786d1aa9c842d1c36b5c1cbc576a | |
Author: Connor Lane Smith <[email protected]> | |
Date: Mon, 27 Jun 2011 19:35:11 +0100 | |
fix numlock (thanks mikhail) | |
Diffstat: | |
M dwm.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -42,7 +42,7 @@ | |
/* macros */ | |
#define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) | |
-#define CLEANMASK(mask) (mask & (ShiftMask|ControlMask|Mod1Mask|Mod2Ma… | |
+#define CLEANMASK(mask) (mask & ~numlockmask & (ShiftMask|ControlMask|… | |
#define INRECT(X,Y,RX,RY,RW,RH) ((X) >= (RX) && (X) < (RX) + (RW) && (Y) >= (R… | |
#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags])) | |
#define LENGTH(X) (sizeof X / sizeof X[0]) |