1
0

removed the ButtonPressMask for root windows as well

This commit is contained in:
Anselm R Garbe 2008-06-14 11:22:22 +01:00
parent 9ff5143acb
commit b6aa84e51b

2
dwm.c
View File

@ -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);