all repos — dwm @ b6aa84e51b315d9e6d6b111b36ac6901f505ddd8

my dwm build

removed the ButtonPressMask for root windows as well
Anselm R Garbe garbeam@gmail.com
Sat, 14 Jun 2008 11:22:22 +0100
commit

b6aa84e51b315d9e6d6b111b36ac6901f505ddd8

parent

9ff5143acba0c6b457bfb92370c8397b7f124f3a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M dwm.cdwm.c

@@ -1379,7 +1379,7 @@ XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,

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