diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2006-08-16 19:32:13 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2006-08-16 19:32:13 +0000 |
| commit | 83a0303dd75ef0487fdd53e810914f21fdd3e459 (patch) | |
| tree | 537f87dfb49623adb649e8d8a1638dea0a5b2c36 /openbox/config.c | |
| parent | 2f4cd02a69b5fb71f011b0cc0a3a054dda1a175f (diff) | |
add option titleNumber in theme section to disable the little [x] that you get after identical window titles
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |
