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:
9ff5143
)
removed the ButtonPressMask for root windows as well
author
Anselm R Garbe
<garbeam@gmail.com>
Sat, 14 Jun 2008 10:22:22 +0000
(11:22 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Sat, 14 Jun 2008 10:22:22 +0000
(11:22 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index dd55ee22bed4af8802a698cee1821bce4528fc58..5f6ffe3d2b65f063c0a37124d17e7cd376ca3628 100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1379,7
+1379,7
@@
setup(void) {
PropModeReplace, (unsigned char *) netatom, NetLast);
/* select for events */
- wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask
|ButtonPressMask
+ wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask
|EnterWindowMask|LeaveWindowMask|StructureNotifyMask;
XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
XSelectInput(dpy, root, wa.event_mask);