} else {
Rect isect, extra;
- /* Use an intersection of win and curr to determine the space
- around curr that we can use.
+ /* Use an intersection of a and r to determine the space
+ around r that we can use.
NOTE: the spaces calculated can overlap.
*/
for (it = list; it; it = g_list_next(it)) {
ObClient *c = it->data;
- if (c != client && !c->shaded && !client_normal(c))
+ if (c != client && !c->shaded && client_normal(c))
spaces = area_remove(spaces, &c->frame->area);
}