add decoration_border color for the actual client borders

see https://github.com/i3/i3/pull/2136
This commit is contained in:
Lauri Tirkkonen
2015-12-28 14:37:42 +02:00
parent cd172da6ae
commit 034a12acad
8 changed files with 65 additions and 51 deletions

View File

@ -189,12 +189,13 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
memset(&config, 0, sizeof(config));
/* Initialize default colors */
#define INIT_COLOR(x, cborder, cbackground, ctext, cindicator) \
do { \
x.border = draw_util_hex_to_color(cborder); \
x.background = draw_util_hex_to_color(cbackground); \
x.text = draw_util_hex_to_color(ctext); \
x.indicator = draw_util_hex_to_color(cindicator); \
#define INIT_COLOR(x, cborder, cbackground, ctext, cindicator) \
do { \
x.border = draw_util_hex_to_color(cborder); \
x.background = draw_util_hex_to_color(cbackground); \
x.text = draw_util_hex_to_color(ctext); \
x.indicator = draw_util_hex_to_color(cindicator); \
x.decoration_border = draw_util_hex_to_color(cbackground); \
} while (0)
config.client.background = draw_util_hex_to_color("#000000");