diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-28 10:15:13 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2024-02-28 16:39:18 +0000 |
commit | 9f4cf242d9f51922c1bb364d9b11a1ed83f518fb (patch) | |
tree | be1a9563ca550f076c24196eb751b27f0436d108 /include/backend | |
parent | c45e97f3a54e9ebef6b90e92d2fda068b3f5e269 (diff) |
pointer: drop enum wlr_axis_source
Instead, use enum wl_pointer_axis_source from the Wayland protocol.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/libinput.h | 2 | ||||
-rw-r--r-- | include/backend/wayland.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |