added taskbar_active_background_id to change current desktop background

git-svn-id: http://tint2.googlecode.com/svn/trunk@166 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-08-30 15:40:02 +00:00
parent c8d09ed731
commit 69ad0897d1
4 changed files with 44 additions and 0 deletions

View File

@@ -103,6 +103,8 @@ void init_taskbar()
tskbar = &panel->taskbar[j];
memcpy(&tskbar->area, &panel->g_taskbar, sizeof(Area));
tskbar->desktop = j;
if (j == server.desktop && tskbar->area.use_active)
tskbar->area.is_active = 1;
// add taskbar to the panel
panel->area.list = g_slist_append(panel->area.list, tskbar);