touch: add frame event

This commit is contained in:
Simon Ser 2021-06-30 11:38:57 +02:00
parent a48e569d38
commit 84906a832f
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ struct wlr_touch {
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
struct wl_signal frame;
} events;
void *data;

View file

@ -11,6 +11,7 @@ void wlr_touch_init(struct wlr_touch *touch,
wl_signal_init(&touch->events.up);
wl_signal_init(&touch->events.motion);
wl_signal_init(&touch->events.cancel);
wl_signal_init(&touch->events.frame);
}
void wlr_touch_destroy(struct wlr_touch *touch) {