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;