]> Dogcows Code - chaz/tint2/commitdiff
*fix* test with config_background_mask rather than config_font_mask, since we check...
authorAndreas Fink <andreas.fink85@googlemail.com>
Tue, 22 Feb 2011 15:01:04 +0000 (15:01 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Tue, 22 Feb 2011 15:01:04 +0000 (15:01 +0000)
src/taskbar/taskbar.c

index da850a7932f24df7e4d4fe6e2f43dbaac284a3cc..7ce297568b79ead178cb5bd595408be3a0f942f9 100644 (file)
@@ -177,7 +177,7 @@ void init_taskbar_panel(void *p)
        if ((panel->g_task.config_font_mask & (1<<TASK_ACTIVE)) == 0) panel->g_task.font[TASK_ACTIVE] = panel->g_task.font[TASK_NORMAL];
        if ((panel->g_task.config_font_mask & (1<<TASK_ICONIFIED)) == 0) panel->g_task.font[TASK_ICONIFIED] = panel->g_task.font[TASK_NORMAL];
        if ((panel->g_task.config_font_mask & (1<<TASK_URGENT)) == 0) panel->g_task.font[TASK_URGENT] = panel->g_task.font[TASK_ACTIVE];
-       if ((panel->g_task.config_font_mask & (1<<TASK_NORMAL)) == 0) panel->g_task.background[TASK_NORMAL] = &g_array_index(backgrounds, Background, 0);
+       if ((panel->g_task.config_background_mask & (1<<TASK_NORMAL)) == 0) panel->g_task.background[TASK_NORMAL] = &g_array_index(backgrounds, Background, 0);
        if ((panel->g_task.config_background_mask & (1<<TASK_ACTIVE)) == 0) panel->g_task.background[TASK_ACTIVE] = panel->g_task.background[TASK_NORMAL];
        if ((panel->g_task.config_background_mask & (1<<TASK_ICONIFIED)) == 0) panel->g_task.background[TASK_ICONIFIED] = panel->g_task.background[TASK_NORMAL];
        if ((panel->g_task.config_background_mask & (1<<TASK_URGENT)) == 0) panel->g_task.background[TASK_URGENT] = panel->g_task.background[TASK_ACTIVE];
This page took 0.02209 seconds and 4 git commands to generate.