diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-13 06:41:58 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-13 06:45:46 +0000 |
commit | 8c1a06815927cc4fc6114cddc4a6bf96f613ed5e (patch) | |
tree | 8cd6c21d00ae9f32ef019454b43d80c117b47e22 /lisp/emacs-lisp/generic.el | |
parent | 9f4be0e6a5fb84270d45847c7451e218e0f92035 (diff) | |
download | emacs-8c1a06815927cc4fc6114cddc4a6bf96f613ed5e.tar.gz emacs-8c1a06815927cc4fc6114cddc4a6bf96f613ed5e.tar.bz2 emacs-8c1a06815927cc4fc6114cddc4a6bf96f613ed5e.zip |
Allow dragging scroll bar for overscroll on Haiku
* src/haiku_support.cc (class EmacsScrollBar): New fields
`in_overscroll', `can_overscroll', `last_overscroll',
`last_reported_overscroll_value' and `max_value'.
(ValueChanged): Make very sure extraneous value are not
generated.
(MouseUp): Clear overscroll if enabled.
(MouseMoved): If overscroll is enabled and dragging downwards
fails to dislodge the maximum value, enable overscrolling.
(BView_scroll_bar_update): New parameter `can_overscroll'
* src/haiku_support.h: Update prototypes.
* src/haikuterm.c (haiku_set_scroll_bar_thumb)
(haiku_set_horizontal_scroll_bar_thumb): Adjust parameters to
scroll bar update functions.
(haiku_read_socket): Take ceiling of bar position if
horizontal.
Diffstat (limited to 'lisp/emacs-lisp/generic.el')
0 files changed, 0 insertions, 0 deletions