| 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 c071853f11cbd181038385f480a6c962d9271277..4c530a4ec8d73db6d416950a55ef18b410d17d96 100644
|
| --- a/ui/events/ozone/evdev/event_factory_evdev.cc
|
| +++ b/ui/events/ozone/evdev/event_factory_evdev.cc
|
| @@ -218,7 +218,9 @@ void EventFactoryEvdev::DispatchMouseMoveEvent(
|
| MouseEvent event(ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(),
|
| params.timestamp,
|
| modifiers_.GetModifierFlags() | params.flags,
|
| - /* changed_button_flags */ 0);
|
| + /* changed_button_flags */ 0,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE,
|
| + ui::PointerEvent::kMousePointerId));
|
| event.set_location_f(location);
|
| event.set_root_location_f(location);
|
| event.set_source_device_id(params.device_id);
|
| @@ -279,7 +281,9 @@ void EventFactoryEvdev::DispatchMouseButtonEvent(
|
| MouseEvent event(params.down ? ui::ET_MOUSE_PRESSED : ui::ET_MOUSE_RELEASED,
|
| gfx::Point(), gfx::Point(), params.timestamp,
|
| modifiers_.GetModifierFlags() | flag | params.flags,
|
| - /* changed_button_flags */ flag);
|
| + /* changed_button_flags */ flag,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE,
|
| + ui::PointerEvent::kMousePointerId));
|
| event.set_location_f(location);
|
| event.set_root_location_f(location);
|
| event.set_source_device_id(params.device_id);
|
|
|