]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: i3bar: Use the correct keys when reading the color config
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 20 Jan 2012 22:03:52 +0000 (22:03 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 20 Jan 2012 22:03:52 +0000 (22:03 +0000)
i3bar/src/config.c

index 567d0002e3768299c65df4927ae516f921c0442f..13a535181640df2bd287f51fd972e8361ab7a04e 100644 (file)
@@ -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);