diff options
author | Connor Lane Smith | 2011-06-27 20:12:42 +0100 |
---|---|---|
committer | Connor Lane Smith | 2011-06-27 20:12:42 +0100 |
commit | e83f36db101c125fe17034125e63f86fbd6f0568 (patch) | |
tree | 643209c638863129c9f083331e472fbf283330f2 | |
parent | 212f417e44f631d406d65156b0d244f60598b8cc (diff) |
fixed scroll lock (thanks bogdan)
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ /* macros */ #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) -#define CLEANMASK(mask) (mask & ~numlockmask & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)) +#define CLEANMASK(mask) (mask & ~(numlockmask|LockMask) & (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]) |