diff options
Diffstat (limited to 'ash/wm/stacking_controller.cc')
-rw-r--r-- | ash/wm/stacking_controller.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ash/wm/stacking_controller.cc b/ash/wm/stacking_controller.cc index 867342c..42aedf6 100644 --- a/ash/wm/stacking_controller.cc +++ b/ash/wm/stacking_controller.cc @@ -27,8 +27,7 @@ aura::Window* GetContainerForWindow(aura::Window* window) { } bool IsSystemModal(aura::Window* window) { - return window->transient_parent() && - window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM; + return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM; } bool IsWindowModal(aura::Window* window) { |