]> Dogcows Code - chaz/openbox/commitdiff
dont use continue
authorDana Jansens <danakj@orodu.net>
Mon, 15 Sep 2003 03:21:50 +0000 (03:21 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 15 Sep 2003 03:21:50 +0000 (03:21 +0000)
openbox/place.c

index 4987b171fa6df681ff41084f4eac0782d86535e3..664c094d6b220d8d82c4db0fb925361b85316016 100644 (file)
@@ -151,9 +151,8 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y)
     for (it = list; it; it = g_list_next(it)) {
         ObClient *c = it->data;
 
-        if (c == client || c->shaded || !client_normal(c))
-            continue;
-        spaces = area_remove(spaces, &c->frame->area);
+        if (c != client && !c->shaded && !client_normal(c))
+            spaces = area_remove(spaces, &c->frame->area);
     }
 
     spaces = g_slist_sort(spaces, area_cmp);
This page took 0.027771 seconds and 4 git commands to generate.