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
This commit is contained in:
Ingo Bürk 2016-01-06 09:19:42 -05:00
parent 8fce04b1e5
commit bcee585e17
1 changed files with 2 additions and 0 deletions

View File

@ -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)