| Index: ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc
|
| diff --git a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc
|
| index de39a04867757a01fd19152f4ff88ca869212c50..733177ef30b0b2c3566878ff3d1be45137e3fa0d 100644
|
| --- a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc
|
| +++ b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc
|
| @@ -80,7 +80,7 @@ uint32_t X11WholeScreenMoveLoop::DispatchEvent(const ui::PlatformEvent& event) {
|
| last_motion_in_screen_.reset(
|
| static_cast<ui::MouseEvent*>(ui::EventFromNative(xev).release()));
|
| last_motion_in_screen_->set_location(
|
| - ui::EventSystemLocationFromNative(xev));
|
| + gfx::PointF(ui::EventSystemLocationFromNative(xev)));
|
| if (dispatch_mouse_event) {
|
| // Post a task to dispatch mouse movement event when control returns to
|
| // the message loop. This allows smoother dragging since the events are
|
|
|