summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-12-02 11:01:59 +0800
committerPo Lu <luangruo@yahoo.com>2021-12-02 11:01:59 +0800
commit603bdc8d38ce4325380d29423939e5287e8aac17 (patch)
tree15c661d1ea75de9fc0dde11f532a2ae22052ca73 /lisp/emacs-lisp
parent5001f4f91b9a959ddc345de36153689174df67a9 (diff)
downloademacs-603bdc8d38ce4325380d29423939e5287e8aac17.tar.gz
emacs-603bdc8d38ce4325380d29423939e5287e8aac17.tar.bz2
emacs-603bdc8d38ce4325380d29423939e5287e8aac17.zip
Add some primitive momentum-based precision scrolling
The algorithm used to scroll the display kinetically is very simple and needs improvement. Someone should work on that eventually. * lisp/pixel-scroll.el (pixel-scroll-precision-use-momentum): New user option. (pixel-scroll-precision-mode-map): Add `pixel-scroll-start-momentum'. (pixel-scroll-kinetic-state): (pixel-scroll-accumulate-velocity): (pixel-scroll-calculate-velocity): New functions. (pixel-scroll-start-momentum): New command. * src/xterm.c (handle_one_xevent): Fix touch-end event generation.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions