summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-23 00:39:04 +0000
committerDana Jansens <danakj@orodu.net>2003-03-23 00:39:04 +0000
commit6cebd34855d6e29345ca821a17feb82753982e7e (patch)
tree31c07599eca30abafb1e8279b42acbdaed9567cb /openbox
parentddb5d43edc8bb35dadaa83fc3b516a43c1674cc9 (diff)
add booleans
Diffstat (limited to 'openbox')
-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 {