]> Dogcows Code - chaz/tint2/commitdiff
*fix* correct comparison whether task_icon_asb is set
authorAndreas Fink <andreas.fink85@googlemail.com>
Sat, 30 Jan 2010 08:30:02 +0000 (08:30 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Sat, 30 Jan 2010 08:30:02 +0000 (08:30 +0000)
src/taskbar/taskbar.c

index a883523e124a004a3de0af00f82f97a8e1480721..feeb18c67d34d98a09c693096acd6ddb1eb122ed 100644 (file)
@@ -85,7 +85,7 @@ void init_taskbar()
                panel->g_task.area._draw_foreground = draw_task;
                panel->g_task.area.redraw = 1;
                panel->g_task.area.on_screen = 1;
-               if (panel->g_task.config_asb_mask & (1<<TASK_NORMAL)) {
+               if ((panel->g_task.config_asb_mask & (1<<TASK_NORMAL)) == 0) {
                        panel->g_task.alpha[TASK_NORMAL] = 100;
                        panel->g_task.saturation[TASK_NORMAL] = 0;
                        panel->g_task.brightness[TASK_NORMAL] = 0;
This page took 0.024829 seconds and 4 git commands to generate.