]> git.eshelyaron.com Git - emacs.git/commit
Improve overscrolling support on Haiku
authorPo Lu <luangruo@yahoo.com>
Sun, 13 Mar 2022 07:22:59 +0000 (07:22 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 13 Mar 2022 07:22:59 +0000 (07:22 +0000)
commit12f666c1d521668911b3e0143fafb8cf8bd7952b
tree4b394cb678244789d519f67116d486377654792e
parentae8c146332132013bd98d63da1a4f8bbff7624f6
Improve overscrolling support on Haiku

* src/haiku_support.cc (class EmacsScrollBar): New field
`real_max_value'.
(MessageReceived): Set real max value.
(MouseMoved): Get rid of magic numbers by using real max value
instead.
src/haiku_support.cc