summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/config.c2
-rw-r--r--openbox/config.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/openbox/config.c b/openbox/config.c
index ca7cc2b5..a6114b47 100644
--- a/openbox/config.c
+++ b/openbox/config.c
@@ -35,7 +35,7 @@ void config_startup()
"Titlebar Font",
"The fontstring specifying the font to "
"be used in window titlebars."));
- config_def_set(config_def_new("font.shadow", Config_Integer,
+ config_def_set(config_def_new("font.shadow", Config_Bool,
"Titlebar Font Shadow",
"Whether or not the text in the window "
"titlebars gets a drop shadow."));
diff --git a/openbox/config.h b/openbox/config.h
index 7366e95f..9b62b8e5 100644
--- a/openbox/config.h
+++ b/openbox/config.h
@@ -5,12 +5,14 @@
typedef enum {
Config_String,
- Config_Integer
+ Config_Integer,
+ Config_Bool
} ConfigValueType;
typedef union {
char *string;
int integer;
+ gboolean bool;
} ConfigValue;
typedef struct {