X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fconfig.c;h=da1128f4de1cb0834b3b13f405c9d53ebaa98c84;hb=3fb94dfc5f07635116cf7af124a8e5651323840b;hp=4b58fbd969d29ea46c279daf8418337b5a92199d;hpb=39748e41800b03732b0745f6fcd76b61dd93769f;p=chaz%2Fopenbox diff --git a/openbox/config.c b/openbox/config.c index 4b58fbd9..da1128f4 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -33,7 +33,8 @@ gboolean config_focus_last; ObPlacePolicy config_place_policy; -gchar *config_theme; +gchar *config_theme; +gboolean config_theme_keepborder; gchar *config_title_layout; @@ -249,6 +250,8 @@ static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, g_free(config_title_layout); config_title_layout = parse_string(doc, n); } + if ((n = parse_find_node("keepBorder", node))) + config_theme_keepborder = parse_bool(doc, n); } static void parse_desktops(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, @@ -541,6 +544,7 @@ void config_startup(ObParseInst *i) config_theme = NULL; config_title_layout = g_strdup("NLIMC"); + config_theme_keepborder = TRUE; parse_register(i, "theme", parse_theme, NULL); @@ -589,7 +593,7 @@ void config_startup(ObParseInst *i) parse_register(i, "resistance", parse_resistance, NULL); config_menu_warppointer = TRUE; - config_menu_xorstyle = FALSE; + config_menu_xorstyle = TRUE; config_menu_hilightfirst = TRUE; config_menu_hide_delay = 250; config_menu_files = NULL;