From: Dana Jansens Date: Tue, 22 May 2007 15:34:49 +0000 (+0000) Subject: eat enter events when the new alttab popup hides X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0fe1e8f4d7c255860fb458be7528dc803dc5948a;p=chaz%2Fopenbox eat enter events when the new alttab popup hides --- 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;