From 1b4fb4b537cbf8e5a5c67a14c75193ef058de58d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 30 Jun 2021 11:24:08 +0200 Subject: [PATCH] touch: document event data types --- include/wlr/types/wlr_touch.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h index bb8a58c3..f4d9c144 100644 --- a/include/wlr/types/wlr_touch.h +++ b/include/wlr/types/wlr_touch.h @@ -18,10 +18,10 @@ struct wlr_touch { const struct wlr_touch_impl *impl; struct { - struct wl_signal down; - struct wl_signal up; - struct wl_signal motion; - struct wl_signal cancel; + struct wl_signal down; // struct wlr_event_touch_down + struct wl_signal up; // struct wlr_event_touch_up + struct wl_signal motion; // struct wlr_event_touch_motion + struct wl_signal cancel; // struct wlr_event_touch_cancel } events; void *data;