bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll


From: Po Lu
Subject: bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll the screen up and down.
Date: Sun, 20 Aug 2023 15:04:40 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> So basically, pixel-scroll-precision-mode ignores the event type and
> decides on the direction of  scrolling based on the signs in the
> PIXEL-DELTA data?  And we expect any other Emacs feature that wants to
> use PIXEL-DELTA to ignore the event type in the same manner?

Yes, the event type is entirely disregarded.

> And another question: what if PIXEL-DELTA provides deltas that are
> smaller than one screen line -- what should the LINES member of the
> wheel-up/down event be in that case?  The code both in w32term.c and
> xterm.c produces NO_EVENT event in those cases, AFAICT, so it sounds
> like we cannot support such fine scrolling amounts?  Or did I miss
> something?

Actually, LINES is only meant to be produced under NS, where the window
system allegedly provides this information.  handle_one_xevent and most
other terminals merely set LINES to nil.




reply via email to

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