From 7086c146afa6911c1910ef8c4f86f4195501dc40 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 4 Jun 2007 21:54:06 +0000 Subject: [PATCH] dont place transients based on non-normal parents --- openbox/place.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openbox/place.c b/openbox/place.c index c31ffb73..5164675d 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -447,7 +447,10 @@ static gboolean place_per_app_setting(ObClient *client, gint *x, gint *y, static gboolean place_transient_splash(ObClient *client, gint *x, gint *y) { if (client->transient_for && client->type == OB_CLIENT_TYPE_DIALOG) { - if (client->transient_for != OB_TRAN_GROUP && !client->iconic) { + if (client->transient_for != OB_TRAN_GROUP && + client_normal(client->transient_for) && + !client->iconic) + { ObClient *c = client; ObClient *p = client->transient_for; -- 2.45.2