| Index: ui/ozone/platform/caca/caca_event_source.cc
|
| diff --git a/ui/ozone/platform/caca/caca_event_source.cc b/ui/ozone/platform/caca/caca_event_source.cc
|
| index 78d33442ac4ad21bd8bccebde6ad8df354c8bfd0..e4ddc70e693b7c7e871d2cdf8ef88837255d3228 100644
|
| --- a/ui/ozone/platform/caca/caca_event_source.cc
|
| +++ b/ui/ozone/platform/caca/caca_event_source.cc
|
| @@ -216,8 +216,10 @@ void CacaEventSource::OnInputEvent(caca_event_t* event, CacaWindow* window) {
|
| flags = modifier_flags_ | changed_flags;
|
| }
|
| gfx::PointF location = TranslateLocation(last_cursor_location_, window);
|
| - ui::MouseEvent mouse_event(type, location, location, EventTimeForNow(),
|
| - flags, changed_flags);
|
| + ui::MouseEvent mouse_event(type, gfx::Point(), gfx::Point(),
|
| + EventTimeForNow(), flags, changed_flags);
|
| + mouse_event.set_location_f(location);
|
| + mouse_event.set_root_location_f(location);
|
| window->OnCacaEvent(&mouse_event);
|
| break;
|
| }
|
|
|