]> git.eshelyaron.com Git - emacs.git/commit
Improve smooth scroll
authorYuuki Harano <masm+github@masm11.me>
Sat, 28 Nov 2020 12:55:18 +0000 (21:55 +0900)
committerYuuki Harano <masm+github@masm11.me>
Sat, 28 Nov 2020 12:55:18 +0000 (21:55 +0900)
commitfc68127ce8b273834bed951510d5bb39d12e5615
tree280c005a71293a4e09e9f2352681c7c9343a34ad
parent197b37c7689578bf3b08fd690c97df122e8d3547
Improve smooth scroll

* src/pgtkterm.c (scroll_event): Accumulate deltas and calculate
the number of lines.
(pgtk_term_init): Set smooth scroll parameters.
* src/pgtkterm.h (scroll): New members to store parameters.
src/pgtkterm.c
src/pgtkterm.h