From fe2e4991d8a5cb6c9b5d2813f5544caf8e5552b3 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 23 Oct 2009 23:13:38 +0200 Subject: [PATCH] Bugfix: Use the right pointer for bar.* colors (Thanks shatter) --- src/cfgparse.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5