From: Mikael Magnusson Date: Thu, 8 Jun 2006 11:49:52 +0000 (+0000) Subject: setting variables helps X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4a42260849ab284cc6a257c3d0cb74b4633a39de;p=chaz%2Fopenbox setting variables helps --- diff --git a/openbox/config.c b/openbox/config.c index 6df57241..e117de27 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -148,10 +148,10 @@ static void parse_per_app_settings(ObParseInst *i, xmlDocPtr doc, if (x_pos_given && (c = parse_find_node("y", n->children))) { if (!strcmp(parse_string(doc, c), "center")) { settings->center_y = TRUE; - settings->pos_given; + settings->pos_given = TRUE; } else { settings->position.y = parse_int(doc, c); - settings->pos_given; + settings->pos_given = TRUE; } } }