diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c index cfecc5957..9a5425a1f 100644 --- a/src/backends/native/meta-seat-impl.c +++ b/src/backends/native/meta-seat-impl.c @@ -577,7 +577,8 @@ meta_seat_impl_notify_relative_motion_in_impl (MetaSeatImpl *seat_impl, float dx, float dy, float dx_unaccel, - float dy_unaccel) + float dy_unaccel, + double *axes) { MetaInputDeviceNative *device_native = META_INPUT_DEVICE_NATIVE (input_device); @@ -635,7 +636,7 @@ meta_seat_impl_notify_relative_motion_in_impl (MetaSeatImpl *seat_impl, dy_unaccel), GRAPHENE_POINT_INIT (dx_constrained, dy_constrained), - NULL); + axes); queue_event (seat_impl, event); } @@ -1358,7 +1359,8 @@ notify_relative_tool_motion_in_impl (ClutterInputDevice *input_device, time_us, dx, dy, /* FIXME */ - dx, dy); + dx, dy, + axes); } static void @@ -2131,7 +2133,8 @@ process_device_event (MetaSeatImpl *seat_impl, device, time_us, dx, dy, - dx_unaccel, dy_unaccel); + dx_unaccel, dy_unaccel, + NULL); break; } diff --git a/src/backends/native/meta-seat-impl.h b/src/backends/native/meta-seat-impl.h index 83a0a8e3b..fa8b201a6 100644 --- a/src/backends/native/meta-seat-impl.h +++ b/src/backends/native/meta-seat-impl.h @@ -152,7 +152,8 @@ void meta_seat_impl_notify_relative_motion_in_impl (MetaSeatImpl *seat_imp float dx, float dy, float dx_unaccel, - float dy_unaccel); + float dy_unaccel, + double *axes); void meta_seat_impl_notify_absolute_motion_in_impl (MetaSeatImpl *seat_impl, ClutterInputDevice *input_device, diff --git a/src/backends/native/meta-virtual-input-device-native.c b/src/backends/native/meta-virtual-input-device-native.c index cd15e6b11..87da70d6a 100644 --- a/src/backends/native/meta-virtual-input-device-native.c +++ b/src/backends/native/meta-virtual-input-device-native.c @@ -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; }