]> git.eshelyaron.com Git - emacs.git/commit
Fix Haiku menu bars when redisplay happens immediately after activation
authorPo Lu <luangruo@yahoo.com>
Mon, 18 Apr 2022 00:50:15 +0000 (00:50 +0000)
committerPo Lu <luangruo@yahoo.com>
Mon, 18 Apr 2022 00:50:15 +0000 (00:50 +0000)
commit29bf6e64fdad648642a79915d63fe543fdeaff8b
tree22a4e52b8057a4a70ad0fd04e0122a982bfbd063
parent4b2b3c45d39721a60f8ed63c2a3e3ec9ff7e5004
Fix Haiku menu bars when redisplay happens immediately after activation

* src/haiku_support.cc (MessageReceived): Make `REPLAY_MENU_BAR'
messages synchronous.
(be_replay_menu_bar_event): Return whether or not the menu bar
really opened.
* src/haiku_support.h: Update prototypes.
* src/haikumenu.c (haiku_activate_menubar): Immediately activate
menu bar after replaying event.
src/haiku_support.cc
src/haiku_support.h
src/haikumenu.c