aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorAlex Maese <memaese@hotmail.com>2019-01-02 11:46:13 -0600
committerAlex Maese <memaese@hotmail.com>2019-01-02 11:46:13 -0600
commit8b97c20d01a869497d5e0545319597b3b57e79c2 (patch)
treef84b112bd08b22ee220bbf0a34c26926f2d241cc /include/wlr
parentb8460f448cb67fef63c04b9a1217701855f6e692 (diff)
Finish addressing @emersion's comments
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_relative_pointer_v1.h5
1 files changed, 4 insertions, 1 deletions
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);