]> git.eshelyaron.com Git - emacs.git/commit
Fix display bug on macOS (bug#50112)
authorAlan Third <alan@idiocy.org>
Sat, 21 Aug 2021 12:09:37 +0000 (13:09 +0100)
committerAlan Third <alan@idiocy.org>
Sat, 21 Aug 2021 12:12:56 +0000 (13:12 +0100)
commit2837e25cafefea84d39a613b0d809194e0f75af0
tree4ffa6569a2bd71e10de5ad117373c3f16e2607b8
parent5eab7c3f70a048dab708512e8ef8114fbe85992e
Fix display bug on macOS (bug#50112)

* src/nsterm.m ([EmacsLayer initWithColorSpace:]): Use the colorspace
setter.
([EmacsLayer setColorSpace:]): Sometimes we seem to get null
colorspaces, so set a default in this case.
([EmacsLayer getContext]): Check whether there's been a surface or
graphics context allocation failure and log it.
src/nsterm.m