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:
parent
0a1ceaeed0
commit
257cc45adc
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue