From 6cebd34855d6e29345ca821a17feb82753982e7e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 23 Mar 2003 00:39:04 +0000 Subject: [PATCH] add booleans --- openbox/config.c | 2 +- openbox/config.h | 4 +++- 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 { -- 2.44.0