summaryrefslogtreecommitdiffstats
path: root/ash/root_window_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/root_window_controller.cc')
-rw-r--r--ash/root_window_controller.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 1953fed..97fd09e 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -173,8 +173,9 @@ void ReparentAllWindows(aura::Window* src, aura::Window* dst) {
kContainerIdsToMove + arraysize(kContainerIdsToMove));
// Check the default_multi_display_mode because this is also necessary
// in trasition between mirror <-> unified mode.
- if (Shell::GetInstance()->display_manager()->default_multi_display_mode() ==
- DisplayManager::UNIFIED) {
+ if (Shell::GetInstance()
+ ->display_manager()
+ ->current_default_multi_display_mode() == DisplayManager::UNIFIED) {
for (int id : kExtraContainerIdsToMoveInUnifiedMode)
container_ids.push_back(id);
}