From: Michael Stapelberg Date: Fri, 23 Oct 2009 21:13:38 +0000 (+0200) Subject: Bugfix: Use the right pointer for bar.* colors (Thanks shatter) X-Git-Tag: 3.d~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe2e4991d8a5cb6c9b5d2813f5544caf8e5552b3;p=i3%2Fi3 Bugfix: Use the right pointer for bar.* colors (Thanks shatter) --- diff --git a/src/cfgparse.l b/src/cfgparse.l index afe5c84e..11d67dd7 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -54,9 +54,9 @@ client.focused { BEGIN(COLOR_COND); yylval.color = &config.clie client.focused_inactive { BEGIN(COLOR_COND); yylval.color = &config.client.focused_inactive; return TOKCOLOR; } client.unfocused { BEGIN(COLOR_COND); yylval.color = &config.client.unfocused; return TOKCOLOR; } client.urgent { BEGIN(COLOR_COND); yylval.color = &config.client.urgent; return TOKCOLOR; } -bar.focused { BEGIN(COLOR_COND); yylval.color = &config.client.focused; return TOKCOLOR; } -bar.unfocused { BEGIN(COLOR_COND); yylval.color = &config.client.unfocused; return TOKCOLOR; } -bar.urgent { BEGIN(COLOR_COND); yylval.color = &config.client.urgent; return TOKCOLOR; } +bar.focused { BEGIN(COLOR_COND); yylval.color = &config.bar.focused; return TOKCOLOR; } +bar.unfocused { BEGIN(COLOR_COND); yylval.color = &config.bar.unfocused; return TOKCOLOR; } +bar.urgent { BEGIN(COLOR_COND); yylval.color = &config.bar.urgent; return TOKCOLOR; } Mod1 { yylval.number = BIND_MOD1; return MODIFIER; } Mod2 { yylval.number = BIND_MOD2; return MODIFIER; } Mod3 { yylval.number = BIND_MOD3; return MODIFIER; }