]> git.eshelyaron.com Git - emacs.git/commit
Prevent delivery of duplicate events when window is grabbed on Haiku
authorPo Lu <luangruo@yahoo.com>
Thu, 17 Mar 2022 05:31:03 +0000 (05:31 +0000)
committerPo Lu <luangruo@yahoo.com>
Thu, 17 Mar 2022 05:31:03 +0000 (05:31 +0000)
commit9916b49e4197d3aa23b3a5e6a383ae40f65b8222
treebab92b1fff46fe161bdec0645c2b50b722c331e4
parentf4a71e17f49da40ec625ad4771362d96712aff61
Prevent delivery of duplicate events when window is grabbed on Haiku

* src/haiku_support.cc (grab_view, grab_view_locker): New
variables.
(MouseMoved, MouseDown, MouseUp): Keep track of the grab and
don't deliver motion events to any other view.
src/haiku_support.cc