]> git.eshelyaron.com Git - emacs.git/commit
Fix incorrectly appearing toolbar on NS (bug#50534)
authorAlan Third <alan@idiocy.org>
Mon, 13 Sep 2021 19:09:22 +0000 (20:09 +0100)
committerAlan Third <alan@idiocy.org>
Tue, 14 Sep 2021 09:08:17 +0000 (10:08 +0100)
commit1e83d04214f27a79a4d4841772da946e24cbf21d
tree93355aa68e769d1a007a758c31d3c5fd83a78688
parent443d37ff213ec31c8450a9cce36a7c44ac63945b
Fix incorrectly appearing toolbar on NS (bug#50534)

* src/nsmenu.m (update_frame_tool_bar): Ensure both sides of the test
are booleans.
* src/nsterm.m ([EmacsWindow createToolbar:]): Make the toolbar
non-visible initially, in case things get out of sync.  Remove call to
update_frame_tool_bar: the window isn't yet associated with the view,
so it will return immediately.
src/nsmenu.m
src/nsterm.m