On Mon 05 Feb 2024 at 20:57:11 +0100, Rhialto wrote: > I think I like the second suggestion slightly better, so I'll go with > that. I'll do a test build first, even though it seems trivial. I didn't > do a build in a while anyway... I'll commit this then, if that looks ok. (I'm asking to double-check since this isn't my usual area of committing - I test-compiled it but unfortunately the build for -current doesn't drop in into 10.0RC3 as I have it installed) Index: ws.c =================================================================== RCS file: /cvsroot/xsrc/external/mit/xf86-input-ws/dist/src/ws.c,v retrieving revision 1.16 diff -u -r1.16 ws.c --- ws.c 4 Dec 2021 15:21:55 -0000 1.16 +++ ws.c 6 Feb 2024 17:40:57 -0000 @@ -747,7 +747,9 @@ dw = 0; } #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 14 - if (hscroll || vscroll) { + static int warned = 0; + if ((hscroll || vscroll) && !warned) { + warned = 1; xf86Msg(X_WARNING, "%s: hscroll=%d, vscroll=%d\n", pInfo->name, hscroll, vscroll); valuator_mask_zero(priv->scroll_mask); -Olaf. -- ___ Olaf 'Rhialto' Seibert <rhialto/at/falu.nl> \X/ There is no AI. There is just someone else's work. --I. Rose
Attachment:
signature.asc
Description: PGP signature