moved MOUSEMASK into event.c (not used in other places)

keyboard
Anselm R. Garbe 18 years ago
parent 8b68890650
commit d7734f996f
  1. 1
      dwm.h
  2. 1
      event.c

@ -36,7 +36,6 @@
/* mask shorthands, used in event.c and client.c */ /* mask shorthands, used in event.c and client.c */
#define BUTTONMASK (ButtonPressMask | ButtonReleaseMask) #define BUTTONMASK (ButtonPressMask | ButtonReleaseMask)
#define MOUSEMASK (BUTTONMASK | PointerMotionMask)
/* other stuff used in different places */ /* other stuff used in different places */
#define BORDERPX 1 #define BORDERPX 1
#define PROTODELWIN 1 #define PROTODELWIN 1

@ -18,6 +18,7 @@ typedef struct {
KEYS KEYS
#define CLEANMASK(mask) (mask & ~(numlockmask | LockMask)) #define CLEANMASK(mask) (mask & ~(numlockmask | LockMask))
#define MOUSEMASK (BUTTONMASK | PointerMotionMask)
static void static void
movemouse(Client *c) { movemouse(Client *c) {

Loading…
Cancel
Save