tmoved MOUSEMASK into event.c (not used in other places) - dwm - [fork] customized build of dwm, the dynamic window manager (HTM) git clone git://src.adamsgaard.dk/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit d7734f996ff2eae29fea14af76711d7f51648c10 (DIR) parent 8b68890650b13693fabd5747d0a0d569430e4d97 (HTM) 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: M dwm.h | 1 - M event.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/dwm.h b/dwm.h t@@ -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 (DIR) diff --git a/event.c b/event.c t@@ -18,6 +18,7 @@ typedef struct { KEYS #define CLEANMASK(mask) (mask & ~(numlockmask | LockMask)) +#define MOUSEMASK (BUTTONMASK | PointerMotionMask) static void movemouse(Client *c) {