neuswc

patched neuswc library (tracked)
git clone https://git.daat.foo/neuswc.git
Log | Files | Refs | README | LICENSE

commit 20b6e455f26fe0eda1d8c5adbfceb729a9382891
parent 3849f587638522a2143500f59c905e902db630a4
Author: shrub <maybeshrub@gmail.com>
Date:   Fri, 16 Jan 2026 21:33:29 +0000

netbsd support
update mouse wheel handling in seat-ws.c

Diffstat:
Mconfig.mk | 2+-
Mlibswc/seat-ws.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.mk b/config.mk @@ -16,5 +16,5 @@ ENABLE_DEBUG = 1 ENABLE_STATIC = 1 ENABLE_SHARED = 0 -ENABLE_LIBUDEV = 1 +ENABLE_LIBUDEV = 0 ENABLE_XWAYLAND = 1 diff --git a/libswc/seat-ws.c b/libswc/seat-ws.c @@ -274,11 +274,11 @@ handle_ws_data(int fd, uint32_t mask, void *data) break; case WSCONS_EVENT_MOUSE_DELTA_Z: pos = wl_fixed_from_int(ev.value * 10); - pointer_handle_axis(seat->base.pointer, time, 0, pos); + pointer_handle_axis(seat->base.pointer, time, 0, 0, pos, 0); break; case WSCONS_EVENT_MOUSE_DELTA_W: pos = wl_fixed_from_int(ev.value * 10); - pointer_handle_axis(seat->base.pointer, time, 1, pos); + pointer_handle_axis(seat->base.pointer, time, 1, 0, pos, 0); break; case WSCONS_EVENT_MOUSE_ABSOLUTE_X: pos = wl_fixed_from_int(ev.value);