aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2023-05-19 08:55:42 +0800
committerPo Lu2023-05-19 08:55:42 +0800
commit2e644fc13cc46edb99424223bd9dd6da57d710ce (patch)
treea36e9988b6bfc7a1416d080c5a37e0c82261279a /src
parentf59fd5fb27f8bd30f0fb81c47f941b3b0749216b (diff)
parent8c9377b6c4e907e65712fbf0ba0cf90f51da5ef6 (diff)
downloademacs-2e644fc13cc46edb99424223bd9dd6da57d710ce.tar.gz
emacs-2e644fc13cc46edb99424223bd9dd6da57d710ce.zip
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index b9e3cbf81a1..3e089cc1ff1 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -2704,11 +2704,12 @@ ns_scroll_run (struct window *w, struct run *run)
2704 { 2704 {
2705 NSRect srcRect = NSMakeRect (x, from_y, width, height); 2705 NSRect srcRect = NSMakeRect (x, from_y, width, height);
2706 NSPoint dest = NSMakePoint (x, to_y); 2706 NSPoint dest = NSMakePoint (x, to_y);
2707 NSRect destRect = NSMakeRect (x, from_y, width, height);
2707 EmacsView *view = FRAME_NS_VIEW (f); 2708 EmacsView *view = FRAME_NS_VIEW (f);
2708 2709
2709 [view copyRect:srcRect to:dest]; 2710 [view copyRect:srcRect to:dest];
2710#ifdef NS_IMPL_COCOA 2711#ifdef NS_IMPL_COCOA
2711 [view setNeedsDisplayInRect:srcRect]; 2712 [view setNeedsDisplayInRect:destRect];
2712#endif 2713#endif
2713 } 2714 }
2714 2715