neuswc

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

commit 2183a8aa6d40def23c9bbed75a8c28b524afabd4
parent 8e64f651051ad35dee6de0a0b96f96b104ca540e
Author: pita <p@pita.im>
Date:   Sun, 22 Feb 2026 16:10:45 +0000

Remove duplicate decleration

This removes duplicate declerations of WSMOUSE and WSKBDIO event versions, to avoid compiler errors

Diffstat:
Mlibswc/seat-ws.c | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/libswc/seat-ws.c b/libswc/seat-ws.c @@ -311,12 +311,6 @@ initialize_wscons(struct seat *seat) kbd_t encoding; unsigned i; -#ifdef WSMOUSE_EVENT_VERSION - int mouse_ver = WSMOUSE_EVENT_VERSION; -#endif -#ifdef WSKBDIO_EVENT_VERSION - int kbd_ver = WSKBDIO_EVENT_VERSION; -#endif if ((seat->mouse_fd = launch_open_device("/dev/wsmouse", O_RDWR | O_NONBLOCK)) == -1) {