projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
643df63
)
Ensure NS frame is redrawn correctly after scroll
author
Alan Third
<alan@idiocy.org>
Fri, 12 Oct 2018 20:45:03 +0000
(21:45 +0100)
committer
Alan Third
<alan@idiocy.org>
Fri, 12 Oct 2018 20:46:53 +0000
(21:46 +0100)
* src/nsterm.m (ns_copy_bits): Set needsDisplay so the previous cursor
position is redrawn.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index d92d6c32448da178ed0a80238a5458ef6761d4ae..8c355a89f8f1ca35df6a4e8075fbb72e8d1b1c56 100644
(file)
--- 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];
}
}