]> git.eshelyaron.com Git - emacs.git/commit
Fix race conditions waiting for menu bar resize events on Haiku
authorPo Lu <luangruo@yahoo.com>
Sun, 17 Apr 2022 08:13:49 +0000 (08:13 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 17 Apr 2022 08:14:06 +0000 (08:14 +0000)
commit5bc3ed492bffa962ef326387f2476b66442a006c
tree7b1d6a91027af6d3d832ac7045fe6d200b75190c
parent9a7430ce8414f68de1022b3b6068ba60e8cd87cf
Fix race conditions waiting for menu bar resize events on Haiku

* src/haikufns.c (haiku_create_frame, haiku_create_tip_frame):
Clear `wait_for_event_type'.
(haiku_set_menu_bar_lines): Clean up coding style.
* src/haikuterm.c (haiku_wait_for_event): New function.
(haiku_read_socket): Implement waiting for MENU_BAR_RESIZE
events.
* src/haikuterm.h (struct haiku_output): New field
`wait_for_event_type'.
src/haikufns.c
src/haikuterm.c
src/haikuterm.h