diff --git a/include/wlr/types/wlr_relative_pointer_v1.h b/include/wlr/types/wlr_relative_pointer_v1.h index cc4b2746..f9f91219 100644 --- a/include/wlr/types/wlr_relative_pointer_v1.h +++ b/include/wlr/types/wlr_relative_pointer_v1.h @@ -27,7 +27,7 @@ struct wlr_relative_pointer_manager_v1 { struct wl_global *global; struct wl_list resources; // wl_resource_get_link() - struct wl_list relative_pointers; + struct wl_list relative_pointers; // wlr_relative_pointer_v1::link struct { struct wl_signal destroy; @@ -68,6 +68,9 @@ struct wlr_relative_pointer_manager_v1 *wlr_relative_pointer_manager_v1_create( void wlr_relative_pointer_manager_v1_destroy( struct wlr_relative_pointer_manager_v1 *relative_pointer_manager); +/** + * Send a relative motion event to the seat with the same wl_pointer as relative_pointer + */ void wlr_relative_pointer_v1_send_relative_motion( struct wlr_relative_pointer_v1 *relative_pointer, uint64_t time_msec, double dx, double dy, double dx_unaccel, double dy_unaccel);