From: Thierry Lorthiois Date: Sun, 14 Oct 2012 22:04:25 +0000 (+0000) Subject: Fix for no task cycling if all windows are minimized X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a1010e2095e893117188f37c72b1125cfc96233c;p=chaz%2Ftint2 Fix for no task cycling if all windows are minimized --- 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);