aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-16 16:50:03 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-16 16:50:03 +0200
commitd7734f996ff2eae29fea14af76711d7f51648c10 (patch)
tree706a00f7b81e75487e77775e206fd0160c0dc515
parent8b68890650b13693fabd5747d0a0d569430e4d97 (diff)
moved MOUSEMASK into event.c (not used in other places)
-rw-r--r--dwm.h1
-rw-r--r--event.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/dwm.h b/dwm.h
index da105b7..7cf168d 100644
--- 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
index 7f040e2..42a6fc0 100644
--- 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) {