dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit d7734f996ff2eae29fea14af76711d7f51648c10
parent 8b68890650b13693fabd5747d0a0d569430e4d97
Author: Anselm R. Garbe <arg@10kloc.org>
Date:   Mon, 16 Oct 2006 16:50:03 +0200

moved MOUSEMASK into event.c (not used in other places)
Diffstat:
Mdwm.h | 1-
Mevent.c | 1+
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.h b/dwm.h
@@ -36,7 +36,6 @@
 
 /* mask shorthands, used in event.c and client.c */
 #define BUTTONMASK        (ButtonPressMask | ButtonReleaseMask)
-#define MOUSEMASK        (BUTTONMASK | PointerMotionMask)
 /* other stuff used in different places */
 #define BORDERPX        1
 #define PROTODELWIN        1
diff --git a/event.c b/event.c
@@ -18,6 +18,7 @@ typedef struct {
 KEYS
 
 #define CLEANMASK(mask) (mask & ~(numlockmask | LockMask))
+#define MOUSEMASK        (BUTTONMASK | PointerMotionMask)
 
 static void
 movemouse(Client *c) {