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);
break;
case NEXT_TASK:
if (task_active) {
{
Task *tsk1;
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(find_active_task(tsk, task_active));
set_active(tsk1->win);