]> Dogcows Code - chaz/openbox/commitdiff
dont rm focus when i actually found something to fall back to with the pointer
authorDana Jansens <danakj@orodu.net>
Fri, 28 Mar 2003 00:16:36 +0000 (00:16 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 28 Mar 2003 00:16:36 +0000 (00:16 +0000)
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.022153 seconds and 4 git commands to generate.