]> git.eshelyaron.com Git - emacs.git/commit
Improve scroll bar treatment on Haiku
authorPo Lu <luangruo@yahoo.com>
Fri, 11 Mar 2022 10:44:33 +0000 (10:44 +0000)
committerPo Lu <luangruo@yahoo.com>
Fri, 11 Mar 2022 10:44:33 +0000 (10:44 +0000)
commitfc987de94b1aaaf25391a3cc2b7fffdf5e35dccf
treeeea3a7cc57c4fa1d9955ae0476eda118fcb73a47
parent88d474308e2a0b4a6cac2714135f6bbcae689ed4
Improve scroll bar treatment on Haiku

* src/haiku_support.cc (MessageReceived): Subtract portion from
range of scroll bar.
* src/haikuterm.c (BE_SB_MAX): Adjust values for better
rounding.
(haiku_set_scroll_bar_thumb): Round values instead of
truncating them.
src/haiku_support.cc
src/haikuterm.c