summaryrefslogtreecommitdiff
path: root/src/nsterm.h
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2021-09-27 10:50:02 +0100
committerAlan Third <alan@idiocy.org>2021-09-27 11:00:30 +0100
commitd22d7d6be8c6348eead9412d6f05b18de3f481b6 (patch)
treec655abb51a3ade7dbbd0febe1cf6847d9e9b8c51 /src/nsterm.h
parent86bf8afa45f8d8fe19c82a9351ca445bc6f0e12e (diff)
downloademacs-d22d7d6be8c6348eead9412d6f05b18de3f481b6.tar.gz
Attempt to debug a graphical glitch on macOS
* src/nsterm.m (ns_scroll_run): (ns_shift_glyphs_for_insert): Switch to using NSPoint for destination. ([EmacsView copyRect:to:]): Use NSPoint for the destination, always use the view's layer, and log any questionable copy requests.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index 1bedf78bcb1..8cbc663651c 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -489,7 +489,7 @@ typedef id instancetype;
- (void)lockFocus;
- (void)unlockFocus;
#endif
-- (void)copyRect:(NSRect)srcRect to:(NSRect)dstRect;
+- (void)copyRect:(NSRect)srcRect to:(NSPoint)dest;
/* Non-notification versions of NSView methods. Used for direct calls. */
- (void)windowWillEnterFullScreen;