all repos — tint2 @ cb9f2f7517044cf9b46ae60eec1398bdf49236c3

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

*fix* do not add active tasks to the urgent list


git-svn-id: http://tint2.googlecode.com/svn/trunk@281 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
Andreas.Fink85 Andreas.Fink85@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

cb9f2f7517044cf9b46ae60eec1398bdf49236c3

parent

a32bb100ed6cdcecb2ed93317b1b6d1cd83f27df

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M src/taskbar/task.csrc/taskbar/task.c

@@ -477,6 +477,13 @@

void add_urgent(Task *tsk) { + if (!tsk) + return; + + // some programs set urgency hint although they are active + if ( task_active && task_active->win == tsk->win ) + return; + // first check if task is already in the list and reset the counter GSList* urgent_task = urgent_list; while (urgent_task) {