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

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

bug#51891: closed (29.0.50; [PATCH] Pixel delta support for wheel events


From: GNU bug Tracking System
Subject: bug#51891: closed (29.0.50; [PATCH] Pixel delta support for wheel events on X)
Date: Sat, 20 Nov 2021 10:30:02 +0000

Your message dated Sat, 20 Nov 2021 18:28:54 +0800
with message-id <87mtlzp1cp.fsf@yahoo.com>
and subject line Re: bug#51891: 29.0.50; [PATCH] Pixel delta support for wheel 
events on X
has caused the debbugs.gnu.org bug report #51891,
regarding 29.0.50; [PATCH] Pixel delta support for wheel events on X
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51891: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51891
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 29.0.50; [PATCH] Pixel delta support for wheel events on X Date: Tue, 16 Nov 2021 20:38:03 +0800
I've implemented support for exposing the pixel delta of XInput 2 wheel
events to Lisp code.  With GC turned off, utilizing a modified
pixel-scroll.el with this support results in a quite pleasant
experience, but pixel-scroll still GCs too much to be useful.

Pixel based scrolling is a popular feature in modern X applications, and
does make life a lot easier in many cases.  The existing support is
inadequate as it cannot utilize the detailed delta information available
from modern touch-based scroll wheels, which this patch enables.

The XInput 2 support isn't the best from a code duplication POV, but the
behavior of the XInput 2 code often differs in subtle ways from that of
the Core Input code, and trying to combine the two together would result
in a more catastrophic mess than leaving them apart.

Obviously, here is the original XInput 2 support patch:

Attachment: 0001-Add-support-for-event-processing-via-XInput-2.patch
Description: Text Data

And here is the patch that exposes pixel deltas to Lisp:

Attachment: 0002-Expose-pixel-wise-wheel-events-to-Lisp.patch
Description: Text Data

WDYT?  Thanks.

--- End Message ---
--- Begin Message --- Subject: Re: bug#51891: 29.0.50; [PATCH] Pixel delta support for wheel events on X Date: Sat, 20 Nov 2021 18:28:54 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)
Eli Zaretskii <eliz@gnu.org> writes:

> Sure, why not?
>
> Thanks.

Thanks, installed with the improvement to documentation you suggested in
the other message.


--- End Message ---

reply via email to

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