*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
This commit is contained in:
@@ -477,6 +477,13 @@ void blink_urgent()
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user