mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-09 15:50:40 -08:00
Attempt to fix redisplay problems on macOS
* src/nsterm.m (ns_scroll_run): Attempt to fix redisplay artifacts. (Bug#63187)
This commit is contained in:
parent
4daa6f7049
commit
f8d9e40d2c
1 changed files with 2 additions and 1 deletions
|
|
@ -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:srcRect];
|
||||
[view setNeedsDisplayInRect:destRect];
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue