From: Alan Third Date: Fri, 12 Oct 2018 20:45:03 +0000 (+0100) Subject: Ensure NS frame is redrawn correctly after scroll X-Git-Tag: emacs-26.1.90~89 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6ab8db;p=emacs.git Ensure NS frame is redrawn correctly after scroll * src/nsterm.m (ns_copy_bits): Set needsDisplay so the previous cursor position is redrawn. --- diff --git a/src/nsterm.m b/src/nsterm.m index d92d6c32448..8c355a89f8f 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -2721,6 +2721,7 @@ ns_copy_bits (struct frame *f, NSRect src, NSRect dest) [FRAME_NS_VIEW (f) scrollRect: src by: NSMakeSize (dest.origin.x - src.origin.x, dest.origin.y - src.origin.y)]; + [FRAME_NS_VIEW (f) setNeedsDisplay:YES]; } }