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: Eli Zaretskii
Subject: Re: master e37eb7f: Add support for pixel wheel deltas on NS
Date: Sat, 27 Nov 2021 08:09:46 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: rpluim@gmail.com,  emacs-devel@gnu.org
> Date: Sat, 27 Nov 2021 08:02:45 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Thanks!  I really appreciate it.
> 
> > What pixel-delta values are typically reported on X for a single click
> > of the mouse wheel?
> 
> A click (i.e. a movement where precise information is unavailable)?

Why are you saying "click" when we are talking about mouse wheel.  The
wheel is not clicked when the user wants to scroll, the wheel is
turned.

> Typically 1 scroll unit is reported, which would be:
> 
>     1.0 * pow (FRAME_PIXEL_HEIGHT (f), 2.0 / 3.0)

??? That's about 100 pixels on a reasonably-sized frame.  How can such
large values support "precision pixelwise scrolling"?

Are we talking about the same thing?  I was asking about the smallest
values of the deltas reported in the mouse wheel-up and wheel-down
events when the user turns the wheel the smallest amount possible.



reply via email to

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