dwm.c.rej (748B)
1 --- dwm.c 2 +++ dwm.c 3 @@ -49,7 +49,8 @@ 4 #define CLEANMASK(mask) (mask & ~(numlockmask|LockMask) & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)) 5 #define INTERSECT(x,y,w,h,m) (MAX(0, MIN((x)+(w),(m)->wx+(m)->ww) - MAX((x),(m)->wx)) \ 6 * MAX(0, MIN((y)+(h),(m)->wy+(m)->wh) - MAX((y),(m)->wy))) 7 -#define ISVISIBLE(C) ((C->tags & C->mon->tagset[C->mon->seltags])) 8 +#define ISVISIBLEONTAG(C, T) ((C->tags & T)) 9 +#define ISVISIBLE(C) ISVISIBLEONTAG(C, C->mon->tagset[C->mon->seltags]) 10 #define LENGTH(X) (sizeof X / sizeof X[0]) 11 #define MOUSEMASK (BUTTONMASK|PointerMotionMask) 12 #define WIDTH(X) ((X)->w + 2 * (X)->bw)