touch: document event data types

This commit is contained in:
Simon Ser 2021-06-30 11:24:08 +02:00
parent bcbdee43f7
commit 1b4fb4b537

View file

@ -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;