summaryrefslogtreecommitdiff
path: root/openbox/place.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-21 21:32:21 +0000
committerDana Jansens <danakj@orodu.net>2007-04-21 21:32:21 +0000
commit0e9bd66b75725b4d6632eafcaeb34b9fe310e4ea (patch)
tree6659859041f8ef725adefad50a444acc1956700f /openbox/place.c
parent3f2d342de80d819f5a40b6af1e4cc5478429e6be (diff)
fixes for transients
1) don't count non-normal windows as parents when placing/stacking transients 2) in stacking.c, when a window is transient for the group but has no parents, then don't loop forever looking for its parents
Diffstat (limited to 'openbox/place.c')
-rw-r--r--openbox/place.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/place.c b/openbox/place.c
index 6d36e1bd..4717cbfc 100644
--- a/openbox/place.c
+++ b/openbox/place.c
@@ -429,7 +429,7 @@ static gboolean place_transient(ObClient *client, gint *x, gint *y)
gint l, r, t, b;
for (it = client->group->members; it; it = g_slist_next(it)) {
ObClient *m = it->data;
- if (!(m == client || m->transient_for)) {
+ if (!(m == client || m->transient_for) && client_normal(m)) {
if (first) {
l = RECT_LEFT(m->frame->area);
t = RECT_TOP(m->frame->area);