return g_slist_prepend(list, r);
}
-
static GSList* area_remove(GSList *list, Rect *a)
{
GSList *sit;
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);