]> git.eshelyaron.com Git - emacs.git/commit
Fix crash on child frame creation (bug#65817)
authorAlan Third <alan@idiocy.org>
Fri, 8 Sep 2023 18:33:06 +0000 (19:33 +0100)
committerAlan Third <alan@idiocy.org>
Mon, 11 Sep 2023 16:22:01 +0000 (17:22 +0100)
commitc19a2dff5ab0d16a1aed62c68baf1d23dd1649b5
tree8d5a557d9fa0320948446a679097510055e10380
parentfa24bbb631fce7c5110dc322264224842cbb28d8
Fix crash on child frame creation (bug#65817)

* src/nsterm.m ([EmacsView initFrameFromEmacs:]): Reorder the way the
frame and layers are created.
([EmacsView makeBackingLayer]): Change to the newly renamed method
below.
([EmacsLayer initWithColorSpace:doubleBuffered:]):
([EmacsLayer initWithDoubleBuffered:]): Rename the method and remove
the colorspace argument as it's no longer able to be set on initial
creation.
* src/nsterm.h: Use new method prototype.
src/nsterm.h
src/nsterm.m