]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Use the right pointer for bar.* colors (Thanks shatter)
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 23 Oct 2009 21:13:38 +0000 (23:13 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 23 Oct 2009 21:13:38 +0000 (23:13 +0200)
src/cfgparse.l

index afe5c84e53896f99d62417f8fafe8f61b06c4788..11d67dd744322e6011fd821cc3f57ca827d91d95 100644 (file)
@@ -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; }