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 f37973b..214bb59 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;