aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Third2021-10-28 11:21:00 +0100
committerAlan Third2022-01-29 12:15:39 +0000
commit611736f3bc5d9f410adef4cc175c7f9b1c015f2c (patch)
treec848f79b1eb80e5279f74e5a10c70300b7551b27 /src
parentddba3c3dba539155e1b3835217a9e38bdf431185 (diff)
downloademacs-611736f3bc5d9f410adef4cc175c7f9b1c015f2c.tar.gz
emacs-611736f3bc5d9f410adef4cc175c7f9b1c015f2c.zip
Remove debug logging
* src/nsterm.m ([EmacsView copyRect:to:]): Remove logging as it's no longer required.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 08bec519dbc..40540c47be1 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7892,25 +7892,6 @@ not_in_argv (NSString *arg)
7892 7892
7893 NSRect dstRect = NSMakeRect (dest.x, dest.y, NSWidth (srcRect), 7893 NSRect dstRect = NSMakeRect (dest.x, dest.y, NSWidth (srcRect),
7894 NSHeight (srcRect)); 7894 NSHeight (srcRect));
7895 NSRect frame = [self frame];
7896
7897 /* TODO: This check is an attempt to debug a rare graphical glitch
7898 on macOS and should be removed before the Emacs 28 release. */
7899 if (!NSContainsRect (frame, srcRect)
7900 || !NSContainsRect (frame, dstRect))
7901 {
7902 NSLog (@"[EmacsView copyRect:to:] Attempting to copy to or "
7903 "from an area outside the graphics buffer.");
7904 NSLog (@" Frame: (%f, %f) %f×%f",
7905 NSMinX (frame), NSMinY (frame),
7906 NSWidth (frame), NSHeight (frame));
7907 NSLog (@" Source: (%f, %f) %f×%f",
7908 NSMinX (srcRect), NSMinY (srcRect),
7909 NSWidth (srcRect), NSHeight (srcRect));
7910 NSLog (@" Destination: (%f, %f) %f×%f",
7911 NSMinX (dstRect), NSMinY (dstRect),
7912 NSWidth (dstRect), NSHeight (dstRect));
7913 }
7914 7895
7915#ifdef NS_IMPL_COCOA 7896#ifdef NS_IMPL_COCOA
7916 if ([self wantsLayer]) 7897 if ([self wantsLayer])