diff --git a/openbox/config.c b/openbox/config.c index d7cfc970..fcff4a09 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -118,7 +118,6 @@ static void parse_per_app_settings(ObParseInst *i, xmlDocPtr doc, xmlNodePtr app = parse_find_node("application", node->children); gchar *name; - while (app) { if (parse_attr_string("name", app, &name)) { xmlNodePtr n, c; diff --git a/openbox/per_app_settings.c b/openbox/per_app_settings.c index c1b728e2..c8ab4ed5 100644 --- a/openbox/per_app_settings.c +++ b/openbox/per_app_settings.c @@ -20,11 +20,9 @@ #include "screen.h" #include "config.h" -GSList *per_app_settings; - ObAppSetting *get_client_settings(ObClient *client) { - GSList *a = per_app_settings; + GSList *a = config_per_app_settings; while (a) { ObAppSetting *app = (ObAppSetting *) a->data;