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: Kazuhiro Ito
Subject: bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll the screen up and down.
Date: Sat, 19 Aug 2023 01:49:08 +0900
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.0.50 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)

> 1. c-h i (open any vertically long document)
> M-> (move to the bottom of the document) 3.
> 3. perform the scroll down gesture on the touchpad.
> 
> Then you will see the screen scroll up.
> Either scroll down or scroll up, whichever you do, the screen will scroll up.

I noticed that when I input wheel-down with touchpad, line count is
set to negative value, which should be positive integer.

(let ((event (read-event)))
  (cons (car event) (event-line-count event)))

;; Input via touchpad
(wheel-down . -3)
(wheel-up . 3)

;; Input via mouse wheel
(wheel-down . 1)
(wheel-up . 1)

-- 
Kazuhiro Ito





reply via email to

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