changeset 1277 | 7784be22f092 |
parent 1276 | 98213209a570 |
child 1280 | 118ea4f4f554 |
--- a/dwm.c Sat Jun 14 11:21:50 2008 +0100 +++ b/dwm.c Sat Jun 14 11:22:22 2008 +0100 @@ -1379,7 +1379,7 @@ 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);