]> Dogcows Code - chaz/openbox/commitdiff
eat enter events when the new alttab popup hides
authorDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 15:34:49 +0000 (15:34 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 15:34:49 +0000 (15:34 +0000)
openbox/focus_cycle_popup.c

index ef01ddf47e9ffc73c849a875b7454559db225df6..e282465e4d44295d56244a1e5da2f8b3855cf9b2 100644 (file)
@@ -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;
 
This page took 0.026543 seconds and 4 git commands to generate.