eat enter events when the new alttab popup hides
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
openbox/focus_cycle_popup.c
→
openbox/focus_cycle_popup.c
@@ -25,6 +25,7 @@ #include "focus.h"
#include "focus_cycle.h" #include "openbox.h" #include "window.h" +#include "event.h" #include "render/render.h" #include <X11/Xlib.h>@@ -465,6 +466,9 @@ XUnmapWindow(ob_display, popup.bg);
XFlush(ob_display); popup.mapped = FALSE; + + /* kill enter events cause by this unmapping */ + event_ignore_all_queued_enters(); while(popup.targets) { ObFocusCyclePopupTarget *t = popup.targets->data;