]> git.eshelyaron.com Git - emacs.git/commit
Avoid race conditions when computing real frame positions on Haiku
authorPo Lu <luangruo@yahoo.com>
Tue, 17 May 2022 13:13:18 +0000 (13:13 +0000)
committerPo Lu <luangruo@yahoo.com>
Tue, 17 May 2022 13:13:41 +0000 (13:13 +0000)
commit5c656182ce30372873ea2e3f1ffb555f52df9d95
treec211ea0d2bef6c7b79bc77c70c074accf8f41291
parent2414fa360354f4cd245c869813f131108ca1072a
Avoid race conditions when computing real frame positions on Haiku

* src/haiku_support.cc (DispatchMessage): Accept
SEND_MOVE_FRAME_EVENT.
(class EmacsWindow, FrameMoved): Include decorator frame in
MOVE_EVENT events.
(be_send_move_frame_event): New function.
* src/haiku_support.h (struct haiku_move_event): Include
decorator dimensions.  Update prototypes.

* src/haikufns.c (haiku_update_after_decoration_change): Ask for
a move frame event and don't do anything if configury is not yet
complete.

* src/haikuterm.c (haiku_read_socket): Adjust accordingly.
src/haiku_support.cc
src/haiku_support.h
src/haikufns.c
src/haikuterm.c