]> git.eshelyaron.com Git - emacs.git/commit
Fix touchpad scrolling on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Aug 2023 14:01:18 +0000 (17:01 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Aug 2023 14:01:18 +0000 (17:01 +0300)
commit781ddd7e7d87de150d74d6d8615c25e68b42275b
tree2fb7d2e3629618f03234bcb2ea395e9380ce45a1
parentc125bd060e28367239779e25c1586a52fbfa54db
Fix touchpad scrolling on MS-Windows

* src/w32term.c (w32_construct_mouse_wheel): The number of lines
to scroll should always be positive in wheel-scroll events.
Whether to scroll up or down is encoded in the modifiers, which
produce either wheel-up or wheel-down event.  (Bug#65070)

* doc/lispref/commands.texi (Misc Events): Clarify the
documentation of 'wheel-up' and 'wheel-down' events.
doc/lispref/commands.texi
src/w32term.c