| Index: ash/wm/activation_controller.cc
|
| diff --git a/ash/wm/activation_controller.cc b/ash/wm/activation_controller.cc
|
| index 5ea7466c0f2a1a89222bf5f6b029fa1b0bbc7805..794452d8531169beb82ac25cc98d142c4fae05b2 100644
|
| --- a/ash/wm/activation_controller.cc
|
| +++ b/ash/wm/activation_controller.cc
|
| @@ -40,7 +40,7 @@ bool SupportsChildActivation(aura::Window* window) {
|
| // supports activation/deactivation.
|
| bool CanActivateWindow(aura::Window* window) {
|
| return window &&
|
| - window->IsVisible() &&
|
| + window->CanReceiveEvents() &&
|
| (!aura::client::GetActivationDelegate(window) ||
|
| aura::client::GetActivationDelegate(window)->ShouldActivate(NULL)) &&
|
| SupportsChildActivation(window->parent());
|
|
|