|
|
@ -1379,7 +1379,7 @@ setup(void) {
|
|
|
|
PropModeReplace, (unsigned char *) netatom, NetLast);
|
|
|
|
PropModeReplace, (unsigned char *) netatom, NetLast);
|
|
|
|
|
|
|
|
|
|
|
|
/* select for events */
|
|
|
|
/* select for events */
|
|
|
|
wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask|ButtonPressMask
|
|
|
|
wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask
|
|
|
|
|EnterWindowMask|LeaveWindowMask|StructureNotifyMask;
|
|
|
|
|EnterWindowMask|LeaveWindowMask|StructureNotifyMask;
|
|
|
|
XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
|
|
|
|
XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
|
|
|
|
XSelectInput(dpy, root, wa.event_mask);
|
|
|
|
XSelectInput(dpy, root, wa.event_mask);
|
|
|
|