From 0e9bd66b75725b4d6632eafcaeb34b9fe310e4ea Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Apr 2007 21:32:21 +0000 Subject: 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 --- openbox/place.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/place.c') 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); -- cgit v1.2.3