commit b6aa84e51b315d9e6d6b111b36ac6901f505ddd8 from: Anselm R Garbe date: Sat Jun 14 10:22:22 2008 UTC removed the ButtonPressMask for root windows as well commit - 9ff5143acba0c6b457bfb92370c8397b7f124f3a commit + b6aa84e51b315d9e6d6b111b36ac6901f505ddd8 blob - dd55ee22bed4af8802a698cee1821bce4528fc58 blob + 5f6ffe3d2b65f063c0a37124d17e7cd376ca3628 --- dwm.c +++ 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);