]> git.eshelyaron.com Git - emacs.git/commit
Fix race conditions in mouse button handling on Haiku
authorPo Lu <luangruo@yahoo.com>
Thu, 28 Jul 2022 07:17:04 +0000 (07:17 +0000)
committerPo Lu <luangruo@yahoo.com>
Thu, 28 Jul 2022 07:17:04 +0000 (07:17 +0000)
commit27a0bcd7797d8059ec1b0bb000e25146bde3bf9d
tree499c1644588ce60255385287b4ce47e3810c3ff8
parentc44068ac6c6f31a3b64ad19841d7f0385f624dae
Fix race conditions in mouse button handling on Haiku

* src/haiku_support.cc (class EmacsView): New field
`grabbed_buttons'.  Remove `previous_buttons'.
(BasicMouseDown, BasicMouseUp): Accept new parameter `message'.
Use data from that message instead.
(MouseDown, MouseUp): Pass the current message to BasicMouseUp
and BasicMouseDown.
src/haiku_support.cc