From 787ae786c703a6170958aae80ef47394ff096c95 Mon Sep 17 00:00:00 2001 From: Andreas Fink Date: Tue, 22 Feb 2011 15:01:04 +0000 Subject: [PATCH] *fix* test with config_background_mask rather than config_font_mask, since we check if the background was specified --- src/taskbar/taskbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.45.2