]> git.eshelyaron.com Git - emacs.git/commit
Fix flicker when resizing NS frame programmatically (bug#46155)
authorAlan Third <alan@idiocy.org>
Sun, 31 Jan 2021 20:19:53 +0000 (20:19 +0000)
committerAlan Third <alan@idiocy.org>
Sat, 13 Feb 2021 22:41:25 +0000 (22:41 +0000)
commit68bd6f3ea9c05637501139c46f1f4304482db95f
tree3298806f1fc28e0f0d709986ce0904dd3372e623
parent0474a0d7d4478e967c7bbee93ab3606f0b215e66
Fix flicker when resizing NS frame programmatically (bug#46155)

; Incidentally fixes bug#21326.

* src/nsterm.m ([EmacsView viewWillDraw]): New function.
([EmacsView viewDidResize:]): We now have to mark the frame for
display on resize.
([EmacsView initFrameFromEmacs:]): Retain frame contents on resize.
([EmacsView updateLayer]): Don't update the layer if the frame is
still garbaged.
src/nsterm.m