From 23d4eb5f4f4f5dbcf2795df180de1fa36ba6c42a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 May 2007 03:42:41 +0000 Subject: [PATCH] kill the hideDisabled option --- data/rc.xml.in | 1 - data/rc.xsd | 1 - openbox/config.c | 4 ---- openbox/config.h | 2 -- 4 files changed, 8 deletions(-) diff --git a/data/rc.xml.in b/data/rc.xml.in index 35cc4cfb..8ccf1cfa 100644 --- a/data/rc.xml.in +++ b/data/rc.xml.in @@ -42,7 +42,6 @@ D: omnipresent (on all desktops). --> yes - no yes sans diff --git a/data/rc.xsd b/data/rc.xsd index d3df567d..af4eda4a 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -111,7 +111,6 @@ - diff --git a/openbox/config.c b/openbox/config.c index e9482703..99e35b5a 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -38,7 +38,6 @@ ObPlacePolicy config_place_policy; gchar *config_theme; gboolean config_theme_keepborder; -gboolean config_theme_hidedisabled; gchar *config_title_layout; @@ -478,8 +477,6 @@ static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, } if ((n = parse_find_node("keepBorder", node))) config_theme_keepborder = parse_bool(doc, n); - if ((n = parse_find_node("hideDisabled", node))) - config_theme_hidedisabled = parse_bool(doc, n); if ((n = parse_find_node("animateIconify", node))) config_animate_iconify = parse_bool(doc, n); @@ -834,7 +831,6 @@ void config_startup(ObParseInst *i) config_animate_iconify = TRUE; config_title_layout = g_strdup("NLIMC"); config_theme_keepborder = TRUE; - config_theme_hidedisabled = FALSE; config_font_activewindow = NULL; config_font_inactivewindow = NULL; diff --git a/openbox/config.h b/openbox/config.h index 41cf7482..94991a60 100644 --- a/openbox/config.h +++ b/openbox/config.h @@ -111,8 +111,6 @@ extern gchar *config_theme; /*! Show the one-pixel border after toggleDecor */ extern gboolean config_theme_keepborder; -/*! Hide window frame buttons that the window doesn't allow */ -extern gboolean config_theme_hidedisabled; /*! Titlebar button layout */ extern gchar *config_title_layout; /*! Animate windows iconifying and restoring */ -- 2.45.2