aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-30 11:24:08 +0200
committerSimon Ser <contact@emersion.fr>2021-06-30 11:24:08 +0200
commit1b4fb4b537cbf8e5a5c67a14c75193ef058de58d (patch)
treeee1e0af007da5582e51e587c60618b01edc0e10e /include/wlr
parentbcbdee43f7018098df1f7dc26db2028920a0cdd8 (diff)
touch: document event data types
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_touch.h8
1 files 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;