emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master e37eb7f: Add support for pixel wheel deltas on NS


From: Po Lu
Subject: Re: master e37eb7f: Add support for pixel wheel deltas on NS
Date: Fri, 26 Nov 2021 15:00:40 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Someone needs to make it report the precision scroll information, and
>> optionally coalesce scroll events until at least a screen line has been
>> scrolled.

> What is "precision scroll information", and how does it differ from
> the information we receive from the mouse wheel on MS-Windows today?
> AFAICT, we already get a window-system message for every movement of
> the mouse wheel, so what else is needed?

Basically, we need to expose not only whether or not the mouse wheel has
been scrolled, but exactly how much it has been scrolled, each time a
wheel event is sent.

We expose it to Lisp as the amount of pixels the text should be scrolled
in each axis, as that is the most common format used by modern window
systems.

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]