all repos — openbox @ 0fe1e8f4d7c255860fb458be7528dc803dc5948a

openbox fork - make it a bit more like ryudo

eat enter events when the new alttab popup hides
Dana Jansens danakj@orodu.net
commit

0fe1e8f4d7c255860fb458be7528dc803dc5948a

parent

41177771c16ef45df79a7a70cde4603a3a40dd4f

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M openbox/focus_cycle_popup.copenbox/focus_cycle_popup.c

@@ -25,6 +25,7 @@ #include "focus.h"

#include "focus_cycle.h" #include "openbox.h" #include "window.h" +#include "event.h" #include "render/render.h" #include <X11/Xlib.h>

@@ -465,6 +466,9 @@ XUnmapWindow(ob_display, popup.bg);

XFlush(ob_display); popup.mapped = FALSE; + + /* kill enter events cause by this unmapping */ + event_ignore_all_queued_enters(); while(popup.targets) { ObFocusCyclePopupTarget *t = popup.targets->data;