]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
oops backwarsd
[chaz/openbox] / openbox / place.c
index 545355ce737766662093dca81757fc6964fd8c98..a641eb5e7a449f642355d000ab9c7a45bfdd3ed0 100644 (file)
@@ -71,7 +71,6 @@ static GSList* area_add(GSList *list, Rect *a)
     return g_slist_prepend(list, r);
 }
 
-
 static GSList* area_remove(GSList *list, Rect *a)
 {
     GSList *sit;
@@ -152,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.026087 seconds and 4 git commands to generate.