author | Anselm R Garbe <garbeam@gmail.com> |
Sat, 14 Jun 2008 11:22:22 +0100 | |
changeset 1277 | 7784be22f092 |
parent 1276 | 98213209a570 |
child 1278 | 09bcda3ec14f |
--- 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);