Fix for incorrect task cycling when windows visible on all desktops are present

git-svn-id: http://tint2.googlecode.com/svn/trunk@651 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
o9000
2012-10-14 22:00:48 +00:00
committed by mrovi%interfete-web-club.com@gtempaccount.com
parent cfa4bc89e1
commit 0a1ceaeed0
3 changed files with 32 additions and 2 deletions

View File

@@ -331,14 +331,14 @@ void window_action (Task *tsk, int action)
case NEXT_TASK:
if (task_active) {
Task *tsk1;
tsk1 = next_task(task_active);
tsk1 = next_task(find_active_task(tsk, task_active));
set_active(tsk1->win);
}
break;
case PREV_TASK:
if (task_active) {
Task *tsk1;
tsk1 = prev_task(task_active);
tsk1 = prev_task(find_active_task(tsk, task_active));
set_active(tsk1->win);
}
}