]> 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:10:01 +0000 (08:10 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 17 Apr 2022 08:14:06 +0000 (08:14 +0000)
commit9a7430ce8414f68de1022b3b6068ba60e8cd87cf
treed7fcc26d6cfad57353a0f026cfa4bf51fdde7187
parent38d72d8d888c4d0714b9ec783160d4e45215eb71
Fix race conditions waiting for menu bar resize events on Haiku

* src/haikufns.c (haiku_create_frame, haiku_create_tip_frame)
(haiku_set_menu_bar_lines): Clear `wait_for_event_type'.
* src/haikumenu.c (set_frame_menubar): Wait for menu bar resize
event.
* src/haikuterm.c (haiku_wait_for_event): New function.
(haiku_read_socket): Handle waiting for MENU_BAR_RESIZE.
* src/haikuterm.h (struct haiku_output): New field
`wait_for_event_type'.
src/haikumenu.c