Finish addressing @emersion's comments

This commit is contained in:
Alex Maese 2019-01-02 11:46:13 -06:00
parent b8460f448c
commit 8b97c20d01
1 changed files with 4 additions and 1 deletions

View File

@ -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);