]> git.eshelyaron.com Git - emacs.git/commit
Slightly improve scrollbar position accounting on Haiku
authorPo Lu <luangruo@yahoo.com>
Sat, 12 Mar 2022 00:46:39 +0000 (00:46 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 12 Mar 2022 00:46:39 +0000 (00:46 +0000)
commitb279e1a5ece70c2b1bb1ab32572473d0cb667b52
treeb03d355fb5023f1870a3fead521a2f358b8d62a3
parent0470a4a939772c4bd25123b15f5eadab41f8bee5
Slightly improve scrollbar position accounting on Haiku

* src/haiku_support.cc (MessageReceived): Use floats for
calculating portion and subtract proportion directly.
* src/haikuterm.c (haiku_set_scroll_bar_thumb): Take ceiling of
value instead of rounding it.
src/haiku_support.cc
src/haikuterm.c