]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
merge r7699 from 3.4-working, (let per-app settings override program specified positi...
[chaz/openbox] / openbox / place.c
index 6a210b0f6377e60770c34fa36e206d284d762c84..d290be3db2289805579a87a6c39f3020a0a6b23b 100644 (file)
@@ -473,7 +473,11 @@ gboolean place_client(ObClient *client, gint *x, gint *y,
 {
     gboolean ret;
 
-    if (client->positioned)
+    /* per-app settings override program specified position
+     * but not user specified */
+    if ((client->positioned & USPosition) ||
+        ((client->positioned & PPosition) && !(settings && settings->pos_given))
+        )
         return FALSE;
 
     /* try a number of methods */
This page took 0.019644 seconds and 4 git commands to generate.