Fix for no task cycling if all windows are minimized

git-svn-id: http://tint2.googlecode.com/svn/trunk@652 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
o9000 2012-10-14 22:04:25 +00:00 committed by mrovi%interfete-web-club.com@gtempaccount.com
parent 0a1ceaeed0
commit 257cc45adc

View file

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