backends/native: Pass the axes down to the relative clutter motion event

Otherwise we get a happy segfault when we're trying broadcast_axis()
during the tablet event handling.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3410>
This commit is contained in:
Peter Hutterer
2023-11-20 14:49:30 +10:00
committed by Marge Bot
parent 9e781545aa
commit 01f78c0451
3 changed files with 11 additions and 6 deletions

View File

@ -226,7 +226,8 @@ notify_relative_motion_in_impl (GTask *task)
virtual_evdev->impl_state->device,
event->time_us,
event->x, event->y,
event->x, event->y);
event->x, event->y,
NULL);
g_task_return_boolean (task, TRUE);
return G_SOURCE_REMOVE;
}