]> Dogcows Code - chaz/tint2/commitdiff
Fix for no task cycling if all windows are minimized
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Sun, 14 Oct 2012 22:04:25 +0000 (22:04 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Sun, 14 Oct 2012 22:04:25 +0000 (22:04 +0000)
src/tint.c

index 5767f2b53bd4704606b9968634ed6ec542959106..4d9e6b88796c1e6cb5148eb181b8499630d76fa7 100644 (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);
This page took 0.019014 seconds and 4 git commands to generate.