From b5c25761d53d8c7fc990f449b3fea4c5742907cc Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 20 Jan 2012 22:03:52 +0000 Subject: [PATCH] Bugfix: i3bar: Use the correct keys when reading the color config --- i3bar/src/config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i3bar/src/config.c b/i3bar/src/config.c index 567d0002..13a53518 100644 --- a/i3bar/src/config.c +++ b/i3bar/src/config.c @@ -162,16 +162,16 @@ static int config_string_cb(void *params_, const unsigned char *val, unsigned in COLOR(statusline, bar_fg); COLOR(background, bar_bg); COLOR(focused_workspace_border, focus_ws_border); - COLOR(focused_workspace_background, focus_ws_bg); + COLOR(focused_workspace_bg, focus_ws_bg); COLOR(focused_workspace_text, focus_ws_fg); COLOR(active_workspace_border, active_ws_border); - COLOR(active_workspace_background, active_ws_bg); + COLOR(active_workspace_bg, active_ws_bg); COLOR(active_workspace_text, active_ws_fg); COLOR(inactive_workspace_border, inactive_ws_border); - COLOR(inactive_workspace_background, inactive_ws_bg); + COLOR(inactive_workspace_bg, inactive_ws_bg); COLOR(inactive_workspace_text, inactive_ws_fg); COLOR(urgent_workspace_border, urgent_ws_border); - COLOR(urgent_workspace_background, urgent_ws_bg); + COLOR(urgent_workspace_bg, urgent_ws_bg); COLOR(urgent_workspace_text, urgent_ws_fg); printf("got unexpected string %.*s for cur_key = %s\n", len, val, cur_key); -- 2.39.5