summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-15 02:07:46 +0000
committerDana Jansens <danakj@orodu.net>2003-09-15 02:07:46 +0000
commit9fe2ce3f850492064a1db438a4d037d0b65c5adb (patch)
treee2f80909ea113e4a5be5fa61911f32b7f1000c4c
parent9866570c7ed7a8ccba14e1c893cea79d85f9435b (diff)
dont count !normal clients for placement
-rw-r--r--openbox/place.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/place.c b/openbox/place.c
index 440ddfb2..e6342e05 100644
--- a/openbox/place.c
+++ b/openbox/place.c
@@ -152,7 +152,7 @@ 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)
+ if (c == client || c->shaded || !client_normal(c))
continue;
spaces = area_remove(spaces, &c->frame->area);
}