diff options
-rw-r--r-- | include/wlr/types/wlr_touch.h | 1 | ||||
-rw-r--r-- | types/wlr_touch.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h index f4d9c144..ca7cf2a6 100644 --- a/include/wlr/types/wlr_touch.h +++ b/include/wlr/types/wlr_touch.h @@ -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; diff --git a/types/wlr_touch.c b/types/wlr_touch.c index 9a6dacfa..9edfdaee 100644 --- a/types/wlr_touch.c +++ b/types/wlr_touch.c @@ -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) { |