mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Stop asking for events (NoEventMask) from menu window once done with
the menu (we don't destroy it, only unmap).
This commit is contained in:
parent
194589eb6b
commit
695eb1d8e5
1
menu.c
1
menu.c
@ -159,6 +159,7 @@ out:
|
|||||||
mi = NULL;
|
mi = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XSelectInput(X_Dpy, sc->menu.win, NoEventMask);
|
||||||
XSetInputFocus(X_Dpy, focuswin, focusrevert, CurrentTime);
|
XSetInputFocus(X_Dpy, focuswin, focusrevert, CurrentTime);
|
||||||
/* restore if user didn't move */
|
/* restore if user didn't move */
|
||||||
xu_ptr_getpos(sc->rootwin, &xcur, &ycur);
|
xu_ptr_getpos(sc->rootwin, &xcur, &ycur);
|
||||||
|
Loading…
Reference in New Issue
Block a user