Index: ash/accelerators/accelerator_controller.cc |
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
index 7557bd850d4bc9b3d306a90477e1184f7b9ef582..0d190febf5d53e177bfcaa61e0996ca89d884978 100644 |
--- a/ash/accelerators/accelerator_controller.cc |
+++ b/ash/accelerators/accelerator_controller.cc |
@@ -715,7 +715,8 @@ void AcceleratorController::SwitchToWindow(int window) { |
// found (which is true when indexes_left is -1) or b.) the last item was |
// requested (which is true when index was passed in as a negative number). |
if (found_index >= 0 && (indexes_left == -1 || window < 0) && |
- items[found_index].status == ash::STATUS_RUNNING) { |
+ (items[found_index].status == ash::STATUS_RUNNING || |
+ items[found_index].status == ash::STATUS_CLOSED)) { |
// Then set this one as active. |
Shell::GetInstance()->launcher()->ActivateLauncherItem(found_index); |
} |