From: Dana Jansens Date: Tue, 8 May 2007 22:34:02 +0000 (+0000) Subject: only place dialogs above other windows X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b82ccb2c78521dac7cc3366727dfe71c1387bc70;p=chaz%2Fopenbox only place dialogs above other windows --- diff --git a/openbox/place.c b/openbox/place.c index f37973b3..214bb59c 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -425,7 +425,7 @@ static gboolean place_per_app_setting(ObClient *client, gint *x, gint *y, static gboolean place_transient(ObClient *client, gint *x, gint *y) { - if (client->transient_for) { + if (client->transient_for && client->type == OB_CLIENT_TYPE_DIALOG) { if (client->transient_for != OB_TRAN_GROUP) { ObClient *c = client; ObClient *p = client->transient_for;