]> Dogcows Code - chaz/openbox/commitdiff
only place dialogs above other windows
authorDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 22:34:02 +0000 (22:34 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 22:34:02 +0000 (22:34 +0000)
openbox/place.c

index f37973b3ed9bfce0298c5f4bc9985b9163abd131..214bb59c01e77718c5c50902cface0a503bde02c 100644 (file)
@@ -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;
This page took 0.024584 seconds and 4 git commands to generate.