X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fconfig.c;h=0eb602211251166c6dc55c683d741ef1ffe7a4ca;hb=83a0303dd75ef0487fdd53e810914f21fdd3e459;hp=bfa5692f8fb5af9873b3d4046af12bdab2cfb20f;hpb=2f4cd02a69b5fb71f011b0cc0a3a054dda1a175f;p=chaz%2Fopenbox diff --git a/openbox/config.c b/openbox/config.c index bfa5692f..0eb60221 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -39,7 +39,8 @@ gchar *config_theme; gboolean config_theme_keepborder; gboolean config_theme_hidedisabled; -gchar *config_title_layout; +gchar *config_title_layout; +gboolean config_title_number; gint config_desktops_num; GSList *config_desktops_names; @@ -430,6 +431,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("titleNumber", node))) + config_theme_hidedisabled = parse_bool(doc, n); if ((n = parse_find_node("keepBorder", node))) config_theme_keepborder = parse_bool(doc, n); if ((n = parse_find_node("hideDisabled", node))) @@ -739,6 +742,7 @@ void config_startup(ObParseInst *i) config_theme = NULL; config_title_layout = g_strdup("NLIMC"); + config_title_number = TRUE; config_theme_keepborder = TRUE; config_theme_hidedisabled = FALSE;