]> Dogcows Code - chaz/openbox/blobdiff - openbox/config.c
allow you to force the position of windows with rc.xml's per-app settings with the...
[chaz/openbox] / openbox / config.c
index 69904d85d5b8cd9b5e39988e1fa9dc8f6cef55ea..99aa57f4773b0012174aca396ee5e91fcef7efac 100644 (file)
@@ -137,6 +137,7 @@ void config_app_settings_copy_non_defaults(const ObAppSettings *src,
 
     if (src->pos_given) {
         dst->pos_given = TRUE;
+        dst->pos_force = src->pos_force;
         dst->position = src->position;
         dst->monitor = src->monitor;
     }
@@ -246,6 +247,8 @@ static void parse_per_app_settings(ObParseInst *inst, xmlDocPtr doc,
                             settings->monitor = parse_int(doc, c) + 1;
                         g_free(s);
                     }
+
+                parse_attr_bool("force", n, &settings->pos_force);
             }
 
             if ((n = parse_find_node("focus", app->children)))
This page took 0.020067 seconds and 4 git commands to generate.