]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
add PARTIAL_SRUT_EQUAL
[chaz/openbox] / openbox / screen.c
index 9ce25dde546da3669067dc0996ad73ce88582bff..2cb3cd84c8318e3cfbbc1ba98c8e01ef67eda881 100644 (file)
@@ -28,6 +28,7 @@
 #include "screen.h"
 #include "client.h"
 #include "frame.h"
+#include "event.h"
 #include "focus.h"
 #include "popup.h"
 #include "extensions.h"
@@ -453,8 +454,9 @@ void screen_set_desktop(guint num)
         }
     }
 
-    if (!focus_client)
-        focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
+    event_ignore_queued_enters();
+
+    focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
 }
 
 static void get_row_col(guint d, guint *r, guint *c)
This page took 0.020604 seconds and 4 git commands to generate.