mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
touch: add frame event
This commit is contained in:
parent
a48e569d38
commit
84906a832f
2 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ struct wlr_touch {
|
||||||
struct wl_signal up; // struct wlr_event_touch_up
|
struct wl_signal up; // struct wlr_event_touch_up
|
||||||
struct wl_signal motion; // struct wlr_event_touch_motion
|
struct wl_signal motion; // struct wlr_event_touch_motion
|
||||||
struct wl_signal cancel; // struct wlr_event_touch_cancel
|
struct wl_signal cancel; // struct wlr_event_touch_cancel
|
||||||
|
struct wl_signal frame;
|
||||||
} events;
|
} events;
|
||||||
|
|
||||||
void *data;
|
void *data;
|
||||||
|
|
|
@ -11,6 +11,7 @@ void wlr_touch_init(struct wlr_touch *touch,
|
||||||
wl_signal_init(&touch->events.up);
|
wl_signal_init(&touch->events.up);
|
||||||
wl_signal_init(&touch->events.motion);
|
wl_signal_init(&touch->events.motion);
|
||||||
wl_signal_init(&touch->events.cancel);
|
wl_signal_init(&touch->events.cancel);
|
||||||
|
wl_signal_init(&touch->events.frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wlr_touch_destroy(struct wlr_touch *touch) {
|
void wlr_touch_destroy(struct wlr_touch *touch) {
|
||||||
|
|
Loading…
Reference in a new issue