]> git.eshelyaron.com Git - emacs.git/commit
Fix extraneous overscroll activation on Haiku
authorPo Lu <luangruo@yahoo.com>
Mon, 14 Mar 2022 02:45:55 +0000 (02:45 +0000)
committerPo Lu <luangruo@yahoo.com>
Mon, 14 Mar 2022 02:46:11 +0000 (02:46 +0000)
commitfaab1b20028d11b9f35beacba4b2b278ac0cdab3
tree48f28d69fc4cf74bb24e7cbb3b9997e9093d4c8a
parenta63bac7adef9b17521e804a67a574764d6e8b2b6
Fix extraneous overscroll activation on Haiku

* src/haiku_support.cc (class EmacsScrollBar): New field
`maybe_overscroll'.
(MouseDown): Set that field.
(MouseUp): Clear that field.
(MouseMoved): Also test `maybe_overscroll' to ensure that a grab
started inside the scroll bar.
src/haiku_support.cc