Index: ui/events/ozone/evdev/input_injector_evdev.cc |
diff --git a/ui/events/ozone/evdev/input_injector_evdev.cc b/ui/events/ozone/evdev/input_injector_evdev.cc |
index 7c37fe921075723e89e068939de9f1d22f520f1f..d180e615406f9390ae0d3632e830fc8f7fba01b1 100644 |
--- a/ui/events/ozone/evdev/input_injector_evdev.cc |
+++ b/ui/events/ozone/evdev/input_injector_evdev.cc |
@@ -47,7 +47,8 @@ void InputInjectorEvdev::InjectMouseButton(EventFlags button, bool down) { |
dispatcher_->DispatchMouseButtonEvent(MouseButtonEventParams( |
kDeviceIdForInjection, cursor_->GetLocation(), code, down, |
- false /* allow_remap */, EventTimeForNow())); |
+ false /* allow_remap */, |
+ PointerDetails(EventPointerType::POINTER_TYPE_MOUSE), EventTimeForNow())); |
} |
void InputInjectorEvdev::InjectMouseWheel(int delta_x, int delta_y) { |
@@ -63,7 +64,8 @@ void InputInjectorEvdev::MoveCursorTo(const gfx::PointF& location) { |
cursor_->MoveCursorTo(location); |
dispatcher_->DispatchMouseMoveEvent(MouseMoveEventParams( |
- kDeviceIdForInjection, cursor_->GetLocation(), EventTimeForNow())); |
+ kDeviceIdForInjection, cursor_->GetLocation(), |
+ PointerDetails(EventPointerType::POINTER_TYPE_MOUSE), EventTimeForNow())); |
} |
void InputInjectorEvdev::InjectKeyEvent(DomCode physical_key, |