seat: listen on the wlr_cursor.frame event

This is now required with wlroots 0.3, see https://github.com/swaywm/wlroots/releases/tag/0.3
and https://github.com/swaywm/wlroots/pull/1503.
This commit is contained in:
Jente Hidskes 2019-02-16 01:09:27 +01:00
parent 9d825d6dc7
commit 202f74f21a
2 changed files with 13 additions and 0 deletions

1
seat.h
View file

@ -30,6 +30,7 @@ struct cg_seat {
struct wl_listener cursor_motion_absolute;
struct wl_listener cursor_button;
struct wl_listener cursor_axis;
struct wl_listener cursor_frame;
int32_t touch_id;
double touch_x;