]> git.eshelyaron.com Git - emacs.git/commit
Fix crash when creating a child frame in NS (bug#63107)
authorAlan Third <alan@idiocy.org>
Thu, 27 Apr 2023 19:08:23 +0000 (20:08 +0100)
committerAlan Third <alan@idiocy.org>
Mon, 8 May 2023 08:49:03 +0000 (09:49 +0100)
commitc1363a04bb201f8444072903a89a77f8203a9e3a
tree7c15f948f9ddffb87bb15330ccb25bb4769e5fcc
parent7d6855c9ab6e0d5128d81b4bcb685799a3c316e9
Fix crash when creating a child frame in NS (bug#63107)

* src/nsterm.m ([EmacsView initFrameFromEmacs:]): Have a second go at
creating the toolbar.
([EmacsWindow createToolbar:]): If there is already a toolbar or the
EmacsView's layer is not an EmacsLayer, then do nothing.

(cherry picked from commit 3adc1e7f37901235bda83ea65a90644b7b0a8dbf)
src/nsterm.m