diff options
Diffstat (limited to 'ash/wm/stacking_controller.cc')
-rw-r--r-- | ash/wm/stacking_controller.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/wm/stacking_controller.cc b/ash/wm/stacking_controller.cc index 71c3bde..452be23 100644 --- a/ash/wm/stacking_controller.cc +++ b/ash/wm/stacking_controller.cc @@ -23,9 +23,9 @@ namespace { // that matches the window's bound will be used. Otherwise, it'll // return the active root window. aura::RootWindow* FindContainerRoot(const gfx::Rect& bounds) { - if (!DisplayController::IsVirtualScreenCoordinatesEnabled() || - (bounds.origin().x() == 0 && bounds.origin().y() == 0 - && bounds.IsEmpty())) { + if (!DisplayController::IsExtendedDesktopEnabled() || + (bounds.origin().x() == 0 && bounds.origin().y() == 0 && + bounds.IsEmpty())) { return Shell::GetActiveRootWindow(); } return Shell::GetRootWindowMatching(bounds); |