From 8b97c20d01a869497d5e0545319597b3b57e79c2 Mon Sep 17 00:00:00 2001 From: Alex Maese Date: Wed, 2 Jan 2019 11:46:13 -0600 Subject: [PATCH] Finish addressing @emersion's comments --- include/wlr/types/wlr_relative_pointer_v1.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);