backend/wayland: handle high-res scroll events

Receive high-resolution scroll events from the parent compositor using
a Wayland listiner and emit the appropiate wlr_pointer signal.
This commit is contained in:
José Expósito 2021-09-20 19:47:07 +02:00
parent d18b85c88a
commit e5932867f1
3 changed files with 36 additions and 10 deletions

View file

@ -101,6 +101,7 @@ struct wlr_wl_pointer {
struct zwp_relative_pointer_v1 *relative_pointer;
enum wlr_axis_source axis_source;
int32_t axis_discrete;
int32_t axis_value120;
struct wlr_wl_output *output;
struct wl_listener output_destroy;