gboolean config_resist_layers_below;
-GSList *per_app_settings;
+GSList *config_per_app_settings;
/*
<applications>
setting->layer = 0;
}
- per_app_settings = g_slist_append(per_app_settings,
+ config_per_app_settings = g_slist_append(config_per_app_settings,
(gpointer) setting);
}
parse_register(i, "menu", parse_menu, NULL);
- per_app_settings = NULL;
+ config_per_app_settings = NULL;
parse_register(i, "applications", parse_per_app_settings, NULL);
}
for (it = config_menu_files; it; it = g_slist_next(it))
g_free(it->data);
g_slist_free(config_menu_files);
+
+ for (it = config_per_app_settings; it; it = g_slist_next(it))
+ g_free(it->data);
+ g_slist_free(config_per_app_settings);
}
#include "misc.h"
#include "stacking.h"
#include "place.h"
-#include "per_app_settings.h"
#include <glib.h>
extern gboolean config_menu_client_list_icons;
/*! User-specified menu files */
extern GSList *config_menu_files;
+/*! Per app settings */
+extern GSList *config_per_app_settings;
void config_startup(struct _ObParseInst *i);
void config_shutdown();
guint layer;
};
-extern GSList *per_app_settings;
-
ObAppSetting *get_client_settings(ObClient *client);
void place_window_from_settings(ObAppSetting *setting, ObClient *client, gint *x, gint *y);