aboutsummarylogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe2008-06-14 11:22:22 +0100
committerAnselm R Garbe2008-06-14 11:22:22 +0100
commitc6cd2c55f9023f563ac15f4bbeb724bb409d8439 (patch)
treeb1fd2a93bd3721569f46b44dcfd8937b23a050c4 /dwm.c
parentb5e0be602de4592b674475f81df387bfd5e1c66a (diff)
downloadaur-c6cd2c55f9023f563ac15f4bbeb724bb409d8439.tar.gz
removed the ButtonPressMask for root windows as well
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index dd55ee22bed4..5f6ffe3d2b65 100644
--- 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);