projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b68890
)
moved MOUSEMASK into event.c (not used in other places)
author
Anselm R. Garbe
<arg@10kloc.org>
Mon, 16 Oct 2006 14:50:03 +0000
(16:50 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Mon, 16 Oct 2006 14:50:03 +0000
(16:50 +0200)
dwm.h
patch
|
blob
|
history
event.c
patch
|
blob
|
history
diff --git
a/dwm.h
b/dwm.h
index da105b7afa7e51f2849106c510f774a4057fd731..7cf168d0d6ad6fae57a28667766cae26e32b0842 100644
(file)
--- 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 7f040e2a5f4fe74462bbb8b1b20e3990e89bf7b2..42a6fc04908da6385f16cd7f34a4768f744ad278 100644
(file)
--- 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) {