all repos — dwm @ da80487c070b4004bf7451b069472b66320030f8

my dwm build

removed int cast in TAGMASK as suggested by nsz
Anselm R Garbe garbeam@gmail.com
Tue, 14 Jul 2009 16:04:07 +0100
commit

da80487c070b4004bf7451b069472b66320030f8

parent

d9779c06fc90879cdf14a65e934f338244e4fcd3

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M dwm.cdwm.c

@@ -51,7 +51,7 @@ #define MIN(A, B) ((A) < (B) ? (A) : (B))

#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 */