From: Andreas Fink Date: Tue, 22 Feb 2011 15:01:04 +0000 (+0000) Subject: *fix* test with config_background_mask rather than config_font_mask, since we check... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=787ae786c703a6170958aae80ef47394ff096c95;p=chaz%2Ftint2 *fix* test with config_background_mask rather than config_font_mask, since we check if the background was specified --- diff --git a/src/taskbar/taskbar.c b/src/taskbar/taskbar.c index da850a7..7ce2975 100644 --- a/src/taskbar/taskbar.c +++ b/src/taskbar/taskbar.c @@ -177,7 +177,7 @@ void init_taskbar_panel(void *p) if ((panel->g_task.config_font_mask & (1<g_task.font[TASK_ACTIVE] = panel->g_task.font[TASK_NORMAL]; if ((panel->g_task.config_font_mask & (1<g_task.font[TASK_ICONIFIED] = panel->g_task.font[TASK_NORMAL]; if ((panel->g_task.config_font_mask & (1<g_task.font[TASK_URGENT] = panel->g_task.font[TASK_ACTIVE]; - if ((panel->g_task.config_font_mask & (1<g_task.background[TASK_NORMAL] = &g_array_index(backgrounds, Background, 0); + if ((panel->g_task.config_background_mask & (1<g_task.background[TASK_NORMAL] = &g_array_index(backgrounds, Background, 0); if ((panel->g_task.config_background_mask & (1<g_task.background[TASK_ACTIVE] = panel->g_task.background[TASK_NORMAL]; if ((panel->g_task.config_background_mask & (1<g_task.background[TASK_ICONIFIED] = panel->g_task.background[TASK_NORMAL]; if ((panel->g_task.config_background_mask & (1<g_task.background[TASK_URGENT] = panel->g_task.background[TASK_ACTIVE];