GNU bug report logs - #51891
29.0.50; [PATCH] Pixel delta support for wheel events on X

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Tue, 16 Nov 2021 12:39:01 UTC

Severity: normal

Tags: patch

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: rpluim <at> gmail.com, 51891 <at> debbugs.gnu.org
Subject: bug#51891: 29.0.50; [PATCH] Pixel delta support for wheel events on X
Date: Fri, 19 Nov 2021 15:09:44 +0200
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: rpluim <at> gmail.com,  51891 <at> debbugs.gnu.org
> Date: Thu, 18 Nov 2021 17:17:25 +0800
> 
> >> An amount of scrolling that would previously generate a `mouse-4' or
> >> `mouse-5' event.
> 
> > That doesn't really answer my question.  Let me ask it differently:
> > how does "scroll unit" differ from "every time the wheel is moved"?
> 
> Basically, even tiny movements of the scroll wheel will cause XInput 2
> to generate wheel events.  This makes the behavior stay like the
> original by default, where you have to scroll 96 or so pixels before a
> wheel event is actually sent.  (This is generally true, but certain mice
> may behave differently.)

Then the first sentence should probably be

  Non-nil means send a wheel event only for scrolling at least one screen line.




This bug report was last modified 3 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.