From: Dana Jansens Date: Mon, 15 Sep 2003 03:21:50 +0000 (+0000) Subject: dont use continue X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4185168f9df50c724cd3e68af6740572c187b1ae;p=chaz%2Fopenbox dont use continue --- diff --git a/openbox/place.c b/openbox/place.c index 4987b171..664c094d 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -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);