]> Dogcows Code - chaz/openbox/commitdiff
dont place transients based on non-normal parents
authorDana Jansens <danakj@orodu.net>
Mon, 4 Jun 2007 21:54:06 +0000 (21:54 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 4 Jun 2007 21:54:06 +0000 (21:54 +0000)
openbox/place.c

index c31ffb735808bb01fa5b72f30a33403284d9ff15..5164675d57048a931192430d7309e6d120392152 100644 (file)
@@ -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;
 
This page took 0.021418 seconds and 4 git commands to generate.