]> git.eshelyaron.com Git - emacs.git/commit
Fix race conditions in the Haiku file dialog
authorPo Lu <luangruo@yahoo.com>
Sat, 7 May 2022 03:20:35 +0000 (03:20 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 7 May 2022 03:20:35 +0000 (03:20 +0000)
commit43a640c20adaaae7942d44c91cf3df3e5b4495ef
tree1cb3c66e3c489331f6bcfe78c42ec7e0aa4f41de
parent76233917c47e7d4ed1d283b09ec67a8dbd6cdf4b
Fix race conditions in the Haiku file dialog

* src/haiku_support.cc (current_file_panel_port): Delete
variable.
(class EmacsWindow, MessageReceived): Stop handling file panel
events here.
(class EmacsFilePanelCallbackLooper): New class.
(be_popup_file_dialog): Use a separate looper to handle file
panel events.
src/haiku_support.cc