| Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
| index ed0cb1d6f9890f9ba21cd1ff87f3c748b7e5c8b0..a184fe910214b6807090173276f27a47eabc219e 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
| @@ -1536,7 +1536,8 @@ void DesktopWindowTreeHostX11::ConvertEventToDifferentHost(
|
| display_dest.device_scale_factor());
|
| gfx::Vector2d offset = GetLocationOnNativeScreen() -
|
| host->GetLocationOnNativeScreen();
|
| - gfx::Point location_in_pixel_in_host = located_event->location() + offset;
|
| + gfx::PointF location_in_pixel_in_host =
|
| + located_event->location_f() + gfx::Vector2dF(offset);
|
| located_event->set_location(location_in_pixel_in_host);
|
| }
|
|
|
|
|