]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
dont rm focus when i actually found something to fall back to with the pointer
[chaz/openbox] / openbox / focus.c
index a462915740c4e60df713021e5c2f38603eb43fe1..127a3399e740b62466e536baf03387a6d6776e94 100644 (file)
@@ -134,8 +134,7 @@ void focus_fallback(gboolean switching_desks)
                 if (client_focus(it->data))
                     break;
             }
+        if (it == NULL) /* nothing to focus */
+            focus_set_client(NULL);
     }
-
-    if (it == NULL) /* nothing to focus */
-        focus_set_client(NULL);
 }
This page took 0.025856 seconds and 4 git commands to generate.