]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
dont kill interactive actions when the client dies, just remove teh client pointer.
[chaz/openbox] / openbox / screen.c
index efab8ddb8376cdaf57b40042f604801922d95d88..2cb3cd84c8318e3cfbbc1ba98c8e01ef67eda881 100644 (file)
@@ -1,4 +1,4 @@
-/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
 
    screen.c for the Openbox window manager
    Copyright (c) 2003        Ben Jansens
@@ -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.024252 seconds and 4 git commands to generate.