From 695eb1d8e52c8498afe342ec8ecd404fbffb9e1c Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 14 Nov 2018 19:22:51 +0000 Subject: [PATCH] Stop asking for events (NoEventMask) from menu window once done with the menu (we don't destroy it, only unmap). --- menu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/menu.c b/menu.c index e00e8a9..d06c529 100644 --- a/menu.c +++ b/menu.c @@ -159,6 +159,7 @@ out: mi = NULL; } + XSelectInput(X_Dpy, sc->menu.win, NoEventMask); XSetInputFocus(X_Dpy, focuswin, focusrevert, CurrentTime); /* restore if user didn't move */ xu_ptr_getpos(sc->rootwin, &xcur, &ycur);