]> git.eshelyaron.com Git - emacs.git/commit
Fix enabling menu bar multiple times on Haiku
authorPo Lu <luangruo@yahoo.com>
Wed, 20 Apr 2022 03:06:58 +0000 (03:06 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 20 Apr 2022 03:06:58 +0000 (03:06 +0000)
commitbd3b2a6781331fc5b7d950af422fd0c3bd8db19b
treebaea003ff612cfaf3074f153bab60f4dd855e637
parent992cf3cb675e074079341cc54c3b16d37a8b9ca8
Fix enabling menu bar multiple times on Haiku

* src/haiku_support.cc (FrameResized): Adjust width and height
appropriately when sending menu bar resize event.
* src/haikufns.c (haiku_set_menu_bar_lines): Don't always reset
FRAME_MENU_BAR_LINES and FRAME_MENU_BAR_HEIGHT.
* src/haikumenu.c (free_frame_menubar): Clear Haiku menu bar.
(set_frame_menubar): Fix coding style.
* src/haikuterm.c (haiku_read_socket): Don't adjust height here
anymore.
src/haiku_support.cc
src/haikufns.c
src/haikumenu.c
src/haikuterm.c