]> git.eshelyaron.com Git - emacs.git/commit
Improve momentum pixel scrolling on a non-selected window
authorPo Lu <luangruo@yahoo.com>
Tue, 22 Feb 2022 03:35:27 +0000 (11:35 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 22 Feb 2022 03:35:27 +0000 (11:35 +0800)
commit6b0e23412d367a3b90db01de9456431158525938
tree40b26f98d8d8f62594160d1fe07e3d5b2587e681
parentf654080513b757f37d829521a50aa62bd5904767
Improve momentum pixel scrolling on a non-selected window

* lisp/pixel-scroll.el (pixel-scroll-kinetic-state): New
argument `window'.
(pixel-scroll-start-momentum): Don't select the window under
the event when calculating velocity or redisplaying.
lisp/pixel-scroll.el