| Index: ash/wm/overview/window_selector.cc
|
| diff --git a/ash/wm/overview/window_selector.cc b/ash/wm/overview/window_selector.cc
|
| index aa351856a5a66dd93da76fcd433df29a40709768..e3828fdc73e24ac50b6a151ec56bde8fcb7b8633 100644
|
| --- a/ash/wm/overview/window_selector.cc
|
| +++ b/ash/wm/overview/window_selector.cc
|
| @@ -386,6 +386,11 @@ void WindowSelector::SelectWindow(aura::Window* window) {
|
| // The selected window should not be minimized when window selection is
|
| // ended.
|
| (*iter)->RestoreWindowOnExit(window);
|
| + // The selected window will be activated, this activation should be ignored.
|
| + // After selecting the window, this object will be deleted so we just set
|
| + // ignore_activations_ rather than using AutoReset which would attempt to
|
| + // change the value back after deleting this WindowSelector.
|
| + ignore_activations_ = true;
|
| delegate_->OnWindowSelected(window);
|
| }
|
|
|
|
|