Subject: Re: bug#65514: 29.1; pixel-scroll-precision-mode has no visible effect

From: Po Lu <[email-masked]>
Date: Fri, 25 Aug 2023 15:37:52 +0800

William O'Hanley <[email-masked]> writes:

> After activating pixel-scroll-precision-mode, I don't see any difference in scrolling behaviour: scrolling is still instant and by lines, as usual. Any idea what gives?
>
> My window manager is i3, in case that's relevant.
>
> Thanks for any help.
>
> Will
>
>
> emacs -Q dribble:  pixel-scroll-precision-mode<return><down-mouse-5><mouse-5><down-mouse-4><mouse-4>
>
> In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
> version 1.16.0, Xaw3d scroll bars)
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
> System Description: Arch Linux
>
> Configured using:
>  'configure
>  --prefix=/nix/store/zbh69bbb8c13w5rrpbhp9rsa7aax4d42-emacs-29.1
>  --disable-build-details --with-modules --with-x-toolkit=lucid
>  --with-xft --with-cairo --with-native-compilation --with-tree-sitter
>  --with-xinput2'

Despite configuring --with-xinput2, as attested here...

> Configured features:
> CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
> LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
> INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
> TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB

... your build is bereft of XInput 2 support, probably as a consequence
of relevant headers being absent from your system.  Verify that you have
installed libXi and its development files, that they are recent enough,
and rebuild Emacs.

Closing, thanks.