aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;