diff options
| author | garbeam@gmail.com <unknown> | 2011-06-24 21:02:32 +0100 |
|---|---|---|
| committer | garbeam@gmail.com <unknown> | 2011-06-24 21:02:32 +0100 |
| commit | 92fe06b501a5458a6aecdcc53f8d35c2a1f55c1c (patch) | |
| tree | f5a8a9f28c8a0ec2bec2704f582a2e490bc3174f | |
| parent | applied Rudys barwidth patch, thanks Rudy (diff) | |
| download | dwm-92fe06b501a5458a6aecdcc53f8d35c2a1f55c1c.tar.gz dwm-92fe06b501a5458a6aecdcc53f8d35c2a1f55c1c.zip | |
applied Andreas Amann's patch from Oct 2010, thanks
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -42,7 +42,7 @@ | |||
| 42 | 42 | ||
| 43 | /* macros */ | 43 | /* macros */ |
| 44 | #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) | 44 | #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) |
| 45 | #define CLEANMASK(mask) (mask & ~(numlockmask|LockMask)) | 45 | #define CLEANMASK(mask) (mask & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)) |
| 46 | #define INRECT(X,Y,RX,RY,RW,RH) ((X) >= (RX) && (X) < (RX) + (RW) && (Y) >= (RY) && (Y) < (RY) + (RH)) | 46 | #define INRECT(X,Y,RX,RY,RW,RH) ((X) >= (RX) && (X) < (RX) + (RW) && (Y) >= (RY) && (Y) < (RY) + (RH)) |
| 47 | #define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags])) | 47 | #define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags])) |
| 48 | #define LENGTH(X) (sizeof X / sizeof X[0]) | 48 | #define LENGTH(X) (sizeof X / sizeof X[0]) |
