moved MOUSEMASK into event.c (not used in other places)
This commit is contained in:
parent
8b68890650
commit
d7734f996f
1
dwm.h
1
dwm.h
|
@ -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
|
||||||
|
|
1
event.c
1
event.c
|
@ -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…
Reference in a new issue