tfixed scroll lock (thanks bogdan) - dwm - [fork] customized build of dwm, the … | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e83f36db101c125fe17034125e63f86fbd6f0568 | |
parent 212f417e44f631d406d65156b0d244f60598b8cc | |
Author: Connor Lane Smith <[email protected]> | |
Date: Mon, 27 Jun 2011 20:12:42 +0100 | |
fixed scroll lock (thanks bogdan) | |
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 & ~numlockmask & (ShiftMask|ControlMask|… | |
+#define CLEANMASK(mask) (mask & ~(numlockmask|LockMask) & (ShiftMask|C… | |
#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]) |