From 9f4cf242d9f51922c1bb364d9b11a1ed83f518fb Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 28 Feb 2024 10:15:13 +0100 Subject: pointer: drop enum wlr_axis_source Instead, use enum wl_pointer_axis_source from the Wayland protocol. --- include/backend/libinput.h | 2 +- include/backend/wayland.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/backend') diff --git a/include/backend/libinput.h b/include/backend/libinput.h index 2b8babb4..910af47f 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -72,7 +72,7 @@ void handle_pointer_axis(struct libinput_event *event, struct wlr_pointer *pointer); #if HAVE_LIBINPUT_SCROLL_VALUE120 void handle_pointer_axis_value120(struct libinput_event *event, - struct wlr_pointer *pointer, enum wlr_axis_source source); + struct wlr_pointer *pointer, enum wl_pointer_axis_source source); #endif void handle_pointer_swipe_begin(struct libinput_event *event, struct wlr_pointer *pointer); diff --git a/include/backend/wayland.h b/include/backend/wayland.h index f8fb66ba..273aa4f7 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -106,7 +106,7 @@ struct wlr_wl_pointer { struct wlr_wl_seat *seat; struct wlr_wl_output *output; - enum wlr_axis_source axis_source; + enum wl_pointer_axis_source axis_source; int32_t axis_discrete; uint32_t fingers; // trackpad gesture enum wlr_axis_relative_direction axis_relative_direction; -- cgit v1.2.3