From: Ingo Bürk Date: Wed, 6 Jan 2016 14:19:42 +0000 (-0500) Subject: Use correct fallback color for decoration_border. X-Git-Tag: 4.12~66^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bcee585e17b3968a1967fc3d55e984fc909d355b;p=i3%2Fi3 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 --- 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)