From 257cc45adcb3a7bd0ef986ce653b0dcd0390d9c8 Mon Sep 17 00:00:00 2001 From: o9000 Date: Sun, 14 Oct 2012 22:04:25 +0000 Subject: [PATCH] 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 --- src/tint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tint.c b/src/tint.c index 5767f2b..4d9e6b8 100644 --- a/src/tint.c +++ b/src/tint.c @@ -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);