]> git.eshelyaron.com Git - emacs.git/commit
Fix "flickering" on NS scratch/ns/emacs27-drawing
authorAlan Third <alan@idiocy.org>
Sat, 22 May 2021 09:26:58 +0000 (10:26 +0100)
committerAlan Third <alan@idiocy.org>
Sat, 22 May 2021 09:31:35 +0000 (10:31 +0100)
commit6ebbd6d38b65eafc19bfc178af216d3e96e29302
tree447b6d417302555c5757f319c8b5ccfec3fb5b71
parent30e5d93ee1b938c207c4f5ec015ba2633cf423cd
Fix "flickering" on NS

* src/nsterm.m ([EmacsView initFrameFromEmacs:]): Add some settings
that allow the frame to redraw properly while resizing.
([EmacsView viewWillDraw]): Call redisplay if we think expose_frame is
going to refuse to draw anything.
([EmacsView drawRect:]): There's no point trying to draw anything if
the frame is still garbaged.
src/nsterm.m