summaryrefslogtreecommitdiffstats
path: root/ash/wm/stacking_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/stacking_controller.cc')
-rw-r--r--ash/wm/stacking_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/stacking_controller.cc b/ash/wm/stacking_controller.cc
index 51e13b3..d846c78 100644
--- a/ash/wm/stacking_controller.cc
+++ b/ash/wm/stacking_controller.cc
@@ -25,7 +25,7 @@ namespace {
// return the active root window.
aura::RootWindow* FindContainerRoot(const gfx::Rect& bounds) {
if (bounds.x() == 0 && bounds.y() == 0 && bounds.IsEmpty())
- return Shell::GetActiveRootWindow();
+ return Shell::GetTargetRootWindow();
return wm::GetRootWindowMatching(bounds);
}