diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-22 15:34:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-22 15:34:49 +0000 |
| commit | 0fe1e8f4d7c255860fb458be7528dc803dc5948a (patch) | |
| tree | 9fd6f8a7db7e09e134023f6f79923fd84f927d9c | |
| parent | 41177771c16ef45df79a7a70cde4603a3a40dd4f (diff) | |
eat enter events when the new alttab popup hides
| -rw-r--r-- | openbox/focus_cycle_popup.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <X11/Xlib.h> @@ -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; |
