| Index: components/exo/wayland/server.cc
|
| diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc
|
| index e541591d3e903afb76ed5383054e4e9e57f4b1b2..36441f2ee63937de0cbfe2cf22f519aff20e5d9f 100644
|
| --- a/components/exo/wayland/server.cc
|
| +++ b/components/exo/wayland/server.cc
|
| @@ -2185,6 +2185,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),
|
| @@ -2192,7 +2196,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_);
|
|
|