| Index: ui/views/widget/desktop_aura/desktop_screen_position_client.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
|
| index 6096b4e10797dd8fa0a299c5db14e4b3ca5040be..512a972eff8b032f902eb911f598b9e0f2ed5b3a 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
|
| @@ -45,6 +45,11 @@ void DesktopScreenPositionClient::SetBounds(aura::Window* window,
|
| DCHECK(!desktop_native_widget ||
|
| desktop_native_widget->GetNativeView() != window);
|
|
|
| + if (window->IsRootWindow()) {
|
| + desktop_native_widget->GetWidget()->SetBounds(bounds);
|
| + return;
|
| + }
|
| +
|
| if (PositionWindowInScreenCoordinates(window)) {
|
| // The caller expects windows we consider "embedded" to be placed in the
|
| // screen coordinate system. So we need to offset the root window's
|
|
|