| Index: ui/events/ozone/evdev/event_factory_evdev.cc
|
| diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc
|
| index 47b46b4d3d67e9f66128f8fc771ec84206eaa08b..88e4319f39fcc8a12d01f874732246463e0186d8 100644
|
| --- a/ui/events/ozone/evdev/event_factory_evdev.cc
|
| +++ b/ui/events/ozone/evdev/event_factory_evdev.cc
|
| @@ -247,8 +247,8 @@ void EventFactoryEvdev::WarpCursorTo(gfx::AcceleratedWidget widget,
|
| if (cursor_) {
|
| cursor_->MoveCursorTo(widget, location);
|
| MouseEvent mouse_event(ET_MOUSE_MOVED,
|
| - cursor_->location(),
|
| - cursor_->location(),
|
| + gfx::ToFlooredPoint(cursor_->location()),
|
| + gfx::ToFlooredPoint(cursor_->location()),
|
| modifiers_.GetModifierFlags(),
|
| /* changed_button_flags */ 0);
|
| DispatchEvent(&mouse_event);
|
|
|