fix a small bug introduced that broke per-app placement

This commit is contained in:
Dana Jansens 2008-01-11 21:33:46 -05:00
parent 405d9a3e43
commit 5d533d9fe2

View file

@ -227,7 +227,7 @@ static void parse_per_app_settings(ObParseInst *inst, xmlDocPtr doc,
if (!parse_contains("default", doc, c)) { if (!parse_contains("default", doc, c)) {
config_parse_gravity_coord(doc, c, config_parse_gravity_coord(doc, c,
&settings->position.x); &settings->position.x);
settings->pos_given = TRUE; x_pos_given = TRUE;
} }
if (x_pos_given && (c = parse_find_node("y", n->children))) if (x_pos_given && (c = parse_find_node("y", n->children)))