dont use continue
This commit is contained in:
parent
e3e850b718
commit
4185168f9d
1 changed files with 2 additions and 3 deletions
|
@ -151,9 +151,8 @@ static gboolean place_smart(ObClient *client, gint *x, gint *y)
|
||||||
for (it = list; it; it = g_list_next(it)) {
|
for (it = list; it; it = g_list_next(it)) {
|
||||||
ObClient *c = it->data;
|
ObClient *c = it->data;
|
||||||
|
|
||||||
if (c == client || c->shaded || !client_normal(c))
|
if (c != client && !c->shaded && !client_normal(c))
|
||||||
continue;
|
spaces = area_remove(spaces, &c->frame->area);
|
||||||
spaces = area_remove(spaces, &c->frame->area);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
spaces = g_slist_sort(spaces, area_cmp);
|
spaces = g_slist_sort(spaces, area_cmp);
|
||||||
|
|
Loading…
Reference in a new issue