projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4daa6f7
)
Attempt to fix redisplay problems on macOS
author
Aaron Jensen
<aaronjensen@gmail.com>
Thu, 18 May 2023 11:20:18 +0000
(14:20 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 18 May 2023 11:20:18 +0000
(14:20 +0300)
* src/nsterm.m (ns_scroll_run): Attempt to fix redisplay
artifacts. (Bug#63187)
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index c26528e0154581e3328945add4d72e5f5e7bda60..c809c0b824aff5f62440421180f1093c92377815 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-2704,11
+2704,12
@@
ns_scroll_run (struct window *w, struct run *run)
{
NSRect srcRect = NSMakeRect (x, from_y, width, height);
NSPoint dest = NSMakePoint (x, to_y);
+ NSRect destRect = NSMakeRect (x, from_y, width, height);
EmacsView *view = FRAME_NS_VIEW (f);
[view copyRect:srcRect to:dest];
#ifdef NS_IMPL_COCOA
- [view setNeedsDisplayInRect:
src
Rect];
+ [view setNeedsDisplayInRect:
dest
Rect];
#endif
}