eat enter events when the new alttab popup hides

This commit is contained in:
Dana Jansens 2007-05-22 15:34:49 +00:00
parent 41177771c1
commit 0fe1e8f4d7

View file

@ -25,6 +25,7 @@
#include "focus_cycle.h" #include "focus_cycle.h"
#include "openbox.h" #include "openbox.h"
#include "window.h" #include "window.h"
#include "event.h"
#include "render/render.h" #include "render/render.h"
#include <X11/Xlib.h> #include <X11/Xlib.h>
@ -466,6 +467,9 @@ void focus_cycle_popup_hide()
popup.mapped = FALSE; popup.mapped = FALSE;
/* kill enter events cause by this unmapping */
event_ignore_all_queued_enters();
while(popup.targets) { while(popup.targets) {
ObFocusCyclePopupTarget *t = popup.targets->data; ObFocusCyclePopupTarget *t = popup.targets->data;