From 0fe1e8f4d7c255860fb458be7528dc803dc5948a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 22 May 2007 15:34:49 +0000 Subject: [PATCH] eat enter events when the new alttab popup hides --- openbox/focus_cycle_popup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index ef01ddf4..e282465e 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -25,6 +25,7 @@ #include "focus_cycle.h" #include "openbox.h" #include "window.h" +#include "event.h" #include "render/render.h" #include @@ -466,6 +467,9 @@ void focus_cycle_popup_hide() popup.mapped = FALSE; + /* kill enter events cause by this unmapping */ + event_ignore_all_queued_enters(); + while(popup.targets) { ObFocusCyclePopupTarget *t = popup.targets->data; -- 2.44.0