merge r6746 from trunk
authorDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 15:35:10 +0000 (15:35 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 15:35:10 +0000 (15:35 +0000)
openbox/focus_cycle_popup.c

index ef01ddf47e9ffc73c849a875b7454559db225df6..12284312035c0f5cee7720ae9b164bfef3110367 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,12 @@ void focus_cycle_popup_hide()
 
     popup.mapped = FALSE;
 
+    /* kill enter events cause by this unmapping */
+    event_ignore_all_queued_enters();
+
+    /* kill enter events cause by this unmapping */
+    event_ignore_all_queued_enters();
+
     while(popup.targets) {
         ObFocusCyclePopupTarget *t = popup.targets->data;