From bcee585e17b3968a1967fc3d55e984fc909d355b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ingo=20B=C3=BCrk?= Date: Wed, 6 Jan 2016 09:19:42 -0500 Subject: [PATCH] Use correct fallback color for decoration_border. The newly introduced decoration_border color incorrectly uses the default value for "background" as a fallback when not specified. Instead, it should use the user-specified "background" as a fallback. fixes #2149 --- src/config_directives.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config_directives.c b/src/config_directives.c index fcc48094..85cea4cf 100644 --- a/src/config_directives.c +++ b/src/config_directives.c @@ -347,6 +347,8 @@ CFGFUN(color, const char *colorclass, const char *border, const char *background } \ if (decoration_border != NULL) { \ config.client.classname.decoration_border = draw_util_hex_to_color(decoration_border); \ + } else { \ + config.client.classname.decoration_border = config.client.classname.background; \ } \ } \ } while (0) -- 2.39.5