fixed : redraw all task state when background changed

git-svn-id: http://tint2.googlecode.com/svn/trunk@371 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-01-22 19:49:24 +00:00
parent fc22028d27
commit de5fab0830
2 changed files with 19 additions and 0 deletions

View File

@@ -596,6 +596,15 @@ void set_panel_background(Panel *p)
a = l0->data;
set_redraw(a);
}
// reset task 'state_pix'
int i;
Taskbar *tskbar;
for (i=0 ; i < p->nb_desktop ; i++) {
tskbar = &p->taskbar[i];
for (l0 = tskbar->area.list; l0 ; l0 = l0->next) {
set_task_redraw((Task *)l0->data);
}
}
}