From 4f1dddd072252707037324d6d000a813b4f454be Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 24 Dec 2018 19:58:25 +0000 Subject: [PATCH] -C and -G *disables* shadow, not enabling them Well, I made a mistake. Fixes #79 Signed-off-by: Yuxuan Shui --- src/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.c b/src/options.c index 066f06f..b2fb523 100644 --- a/src/options.c +++ b/src/options.c @@ -551,11 +551,11 @@ void get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable, case 'c': shadow_enable = true; break; case 'C': winopt_mask[WINTYPE_DOCK].shadow = true; - opt->wintype_option[WINTYPE_DOCK].shadow = true; + opt->wintype_option[WINTYPE_DOCK].shadow = false; break; case 'G': winopt_mask[WINTYPE_DND].shadow = true; - opt->wintype_option[WINTYPE_DND].shadow = true; + opt->wintype_option[WINTYPE_DND].shadow = false; break; case 'm':; double tmp;