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/x11/input_device.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/x11/input_device.c')
-rw-r--r-- | backend/x11/input_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c index 02d4210f..8526ae9b 100644 --- a/backend/x11/input_device.c +++ b/backend/x11/input_device.c @@ -45,7 +45,7 @@ static void send_axis_event(struct wlr_x11_output *output, int32_t delta, struct wlr_pointer_axis_event ev = { .pointer = &output->pointer, .time_msec = time, - .source = WLR_AXIS_SOURCE_WHEEL, + .source = WL_POINTER_AXIS_SOURCE_WHEEL, .orientation = WLR_AXIS_ORIENTATION_VERTICAL, // Most mice use a 15 degree angle per scroll click .delta = delta * 15, |