| Index: components/exo/wayland/server.cc
|
| diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc
|
| index 9aa55fc1b3f4e2b72fa61f8dd5d9dbbe2971de71..ec85b8d3bea2ead48d536c3b9d32a11aeaf98b08 100644
|
| --- a/components/exo/wayland/server.cc
|
| +++ b/components/exo/wayland/server.cc
|
| @@ -2178,6 +2178,10 @@ class WaylandRemoteShell : public WMHelper::MaximizeModeObserver,
|
| const gfx::Rect& bounds = display.bounds();
|
| const gfx::Insets& insets = display.GetWorkAreaInsets();
|
|
|
| + double device_scale_factor =
|
| + WMHelper::GetInstance()->GetDisplayInfo(display.id())
|
| + .device_scale_factor();
|
| +
|
| zcr_remote_shell_v1_send_workspace(
|
| remote_shell_resource_,
|
| static_cast<uint32_t>(display.id() >> 32),
|
| @@ -2185,7 +2189,8 @@ class WaylandRemoteShell : public WMHelper::MaximizeModeObserver,
|
| bounds.x(), bounds.y(), bounds.width(), bounds.height(),
|
| insets.left(), insets.top(), insets.right(), insets.bottom(),
|
| OutputTransform(display.rotation()),
|
| - wl_fixed_from_double(display.device_scale_factor()));
|
| + wl_fixed_from_double(device_scale_factor),
|
| + display.IsInternal());
|
| }
|
|
|
| zcr_remote_shell_v1_send_configure(remote_shell_resource_, layout_mode_);
|
|
|