X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.c;h=5f6ffe3d2b65f063c0a37124d17e7cd376ca3628;hb=e3da222c1e3bdd323a920b8e9765af23f19d80a2;hp=dd55ee22bed4af8802a698cee1821bce4528fc58;hpb=9ff5143acba0c6b457bfb92370c8397b7f124f3a;p=dwm.git diff --git a/dwm.c b/dwm.c index dd55ee2..5f6ffe3 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);