From: Michael Stapelberg Date: Fri, 20 Jan 2012 22:03:52 +0000 (+0000) Subject: Bugfix: i3bar: Use the correct keys when reading the color config X-Git-Tag: 4.2~134 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b5c25761d53d8c7fc990f449b3fea4c5742907cc;p=i3%2Fi3 Bugfix: i3bar: Use the correct keys when reading the color config --- 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);