]> git.eshelyaron.com Git - emacs.git/commit
Make menu bar key navigation work on Haiku
authorPo Lu <luangruo@yahoo.com>
Tue, 4 Jan 2022 06:48:08 +0000 (06:48 +0000)
committerPo Lu <luangruo@yahoo.com>
Tue, 4 Jan 2022 06:48:08 +0000 (06:48 +0000)
commitcbbe235a9093c6939b4984843e11247b3b991b7c
treed9acd8b200a4667ac7809575a3a26abb89d59862
parent693815e90f90d977405dc9cd2857505a375caf96
Make menu bar key navigation work on Haiku

* src/haiku_support.cc (menu_bar_active_p): New variable.
(DispatchMessage): Pass through key events if the menu bar is
active.
(MenusBeginning, MenusEnd): Set `menu_bar_active_p' according
to the state of the menu bar.
(BMenuBar_delete): Clear `menu_bar_active_p'.

* src/haikufns.c (haiku_free_frame_resources): Block input only
after checking that F is a window system frame.
* src/haikumenu.c (Fhaiku_menu_bar_open): Update doc string.
src/haiku_support.cc
src/haikufns.c
src/haikumenu.c