pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9779c0
)
removed int cast in TAGMASK as suggested by nsz
author
Anselm R Garbe
<garbeam@gmail.com>
Tue, 14 Jul 2009 15:04:07 +0000
(16:04 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Tue, 14 Jul 2009 15:04:07 +0000
(16:04 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
7a6b82f
..
6ddf266
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-51,7
+51,7
@@
#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
#define WIDTH(X) ((X)->w + 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)
/* enums */