aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-30 11:23:50 +0200
committerSimon Ser <contact@emersion.fr>2021-06-30 11:23:50 +0200
commitbcbdee43f7018098df1f7dc26db2028920a0cdd8 (patch)
tree2e9ed50215bc511f44b30bdc318a5de1bb2c98bc /include/wlr
parent7cbcc65ad00e195a821cf955dd2302b6b0ec1bf0 (diff)
pointer: document event data types
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_pointer.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/include/wlr/types/wlr_pointer.h b/include/wlr/types/wlr_pointer.h
index ac168d60..1380fa76 100644
--- a/include/wlr/types/wlr_pointer.h
+++ b/include/wlr/types/wlr_pointer.h
@@ -20,17 +20,19 @@ struct wlr_pointer {
const struct wlr_pointer_impl *impl;
struct {
- struct wl_signal motion;
- struct wl_signal motion_absolute;
- struct wl_signal button;
- struct wl_signal axis;
+ struct wl_signal motion; // struct wlr_event_pointer_motion
+ struct wl_signal motion_absolute; // struct wlr_event_pointer_motion_absolute
+ struct wl_signal button; // struct wlr_event_pointer_button
+ struct wl_signal axis; // struct wlr_event_pointer_axis
struct wl_signal frame;
- struct wl_signal swipe_begin;
- struct wl_signal swipe_update;
- struct wl_signal swipe_end;
- struct wl_signal pinch_begin;
- struct wl_signal pinch_update;
- struct wl_signal pinch_end;
+
+ struct wl_signal swipe_begin; // struct wlr_event_pointer_swipe_begin
+ struct wl_signal swipe_update; // struct wlr_event_pointer_swipe_update
+ struct wl_signal swipe_end; // struct wlr_event_pointer_swipe_end
+
+ struct wl_signal pinch_begin; // struct wlr_event_pointer_pinch_begin
+ struct wl_signal pinch_update; // struct wlr_event_pointer_pinch_update
+ struct wl_signal pinch_end; // struct wlr_event_pointer_pinch_end
} events;
void *data;