removed the ButtonPressMask for root windows as well
Anselm R Garbe garbeam@gmail.com
Sat, 14 Jun 2008 11:22:22 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
dwm.c
→
dwm.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);