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 /backend/libinput/events.c | |
parent | c45e97f3a54e9ebef6b90e92d2fda068b3f5e269 (diff) |
pointer: drop enum wlr_axis_source
Instead, use enum wl_pointer_axis_source from the Wayland protocol.
Diffstat (limited to 'backend/libinput/events.c')
-rw-r--r-- | backend/libinput/events.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c index dcc65137..1bf70ce2 100644 --- a/backend/libinput/events.c +++ b/backend/libinput/events.c @@ -180,15 +180,15 @@ void handle_libinput_event(struct wlr_libinput_backend *backend, #if HAVE_LIBINPUT_SCROLL_VALUE120 case LIBINPUT_EVENT_POINTER_SCROLL_WHEEL: handle_pointer_axis_value120(event, &dev->pointer, - WLR_AXIS_SOURCE_WHEEL); + WL_POINTER_AXIS_SOURCE_WHEEL); break; case LIBINPUT_EVENT_POINTER_SCROLL_FINGER: handle_pointer_axis_value120(event, &dev->pointer, - WLR_AXIS_SOURCE_FINGER); + WL_POINTER_AXIS_SOURCE_FINGER); break; case LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS: handle_pointer_axis_value120(event, &dev->pointer, - WLR_AXIS_SOURCE_CONTINUOUS); + WL_POINTER_AXIS_SOURCE_CONTINUOUS); break; #endif case LIBINPUT_EVENT_TOUCH_DOWN: |