dont count !normal clients for placement
This commit is contained in:
parent
9866570c7e
commit
9fe2ce3f85
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ 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)
|
if (c == client || c->shaded || !client_normal(c))
|
||||||
continue;
|
continue;
|
||||||
spaces = area_remove(spaces, &c->frame->area);
|
spaces = area_remove(spaces, &c->frame->area);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue