Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: components/exo/wm_helper_ash.cc

Issue 2860863004: exo: Confine windows to primary display (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/shell_surface.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wm_helper_ash.cc
diff --git a/components/exo/wm_helper_ash.cc b/components/exo/wm_helper_ash.cc
index a7ae4969d558e709bc954cb6a0b46288e3054648..d22aa4b536f4224caa081c12a0bebf9588243a2a 100644
--- a/components/exo/wm_helper_ash.cc
+++ b/components/exo/wm_helper_ash.cc
@@ -60,7 +60,7 @@ const display::ManagedDisplayInfo WMHelperAsh::GetDisplayInfo(
}
aura::Window* WMHelperAsh::GetContainer(int container_id) {
- return ash::Shell::GetContainer(ash::Shell::GetRootWindowForNewWindows(),
+ return ash::Shell::GetContainer(ash::Shell::GetPrimaryRootWindow(),
reveman 2017/05/04 21:56:11 nit: please add a TODO with link to bug here to ex
Dominik Laskowski 2017/05/04 22:42:09 Done.
container_id);
}
« no previous file with comments | « components/exo/shell_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698