| Index: ui/aura_shell/stacking_controller.cc
|
| diff --git a/ui/aura_shell/stacking_controller.cc b/ui/aura_shell/stacking_controller.cc
|
| index 1371c207fd8d1787d60efb32fd918721dc535449..5bca35a67cdb3f42703cc315c8e5a6501937cad0 100644
|
| --- a/ui/aura_shell/stacking_controller.cc
|
| +++ b/ui/aura_shell/stacking_controller.cc
|
| @@ -42,6 +42,10 @@ aura::Window* StackingController::GetActivatableWindow(aura::Window* window) {
|
| while (parent) {
|
| if (SupportsChildActivation(parent))
|
| return child;
|
| + // If |child| isn't activatable, but has transient parent, trace
|
| + // that path instead.
|
| + if (child->transient_parent())
|
| + return GetActivatableWindow(child->transient_parent());
|
| parent = parent->parent();
|
| child = child->parent();
|
| }
|
|
|