| Index: ash/wm/stacking_controller.cc
|
| diff --git a/ash/wm/stacking_controller.cc b/ash/wm/stacking_controller.cc
|
| index 71c3bde770eddef446b1c8bc73ad45443224b2cb..452be239a90d8e0a6c0e03085a4f22e432604024 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);
|
|
|