removed int cast in TAGMASK as suggested by nsz
This commit is contained in:
parent
d9779c06fc
commit
da80487c07
1 changed files with 1 additions and 1 deletions
2
dwm.c
2
dwm.c
|
@ -51,7 +51,7 @@
|
||||||
#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
|
#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
|
||||||
#define WIDTH(X) ((X)->w + 2 * (X)->bw)
|
#define WIDTH(X) ((X)->w + 2 * (X)->bw)
|
||||||
#define HEIGHT(X) ((X)->h + 2 * (X)->bw)
|
#define HEIGHT(X) ((X)->h + 2 * (X)->bw)
|
||||||
#define TAGMASK ((int)((1 << LENGTH(tags)) - 1))
|
#define TAGMASK ((1 << LENGTH(tags)) - 1)
|
||||||
#define TEXTW(X) (textnw(X, strlen(X)) + dc.font.height)
|
#define TEXTW(X) (textnw(X, strlen(X)) + dc.font.height)
|
||||||
|
|
||||||
/* enums */
|
/* enums */
|
||||||
|
|
Loading…
Reference in a new issue