emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 611736f3bc: Remove debug logging


From: Alan Third
Subject: emacs-28 611736f3bc: Remove debug logging
Date: Sat, 29 Jan 2022 07:17:44 -0500 (EST)

branch: emacs-28
commit 611736f3bc5d9f410adef4cc175c7f9b1c015f2c
Author: Alan Third <alan@idiocy.org>
Commit: Alan Third <alan@idiocy.org>

    Remove debug logging
    
    * src/nsterm.m ([EmacsView copyRect:to:]): Remove logging as it's no
    longer required.
---
 src/nsterm.m | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index 08bec519db..40540c47be 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7892,25 +7892,6 @@ not_in_argv (NSString *arg)
 
   NSRect dstRect = NSMakeRect (dest.x, dest.y, NSWidth (srcRect),
                                NSHeight (srcRect));
-  NSRect frame = [self frame];
-
-  /* TODO: This check is an attempt to debug a rare graphical glitch
-     on macOS and should be removed before the Emacs 28 release.  */
-  if (!NSContainsRect (frame, srcRect)
-      || !NSContainsRect (frame, dstRect))
-    {
-      NSLog (@"[EmacsView copyRect:to:] Attempting to copy to or "
-             "from an area outside the graphics buffer.");
-      NSLog (@"  Frame: (%f, %f) %f×%f",
-             NSMinX (frame), NSMinY (frame),
-             NSWidth (frame), NSHeight (frame));
-      NSLog (@"  Source: (%f, %f) %f×%f",
-             NSMinX (srcRect), NSMinY (srcRect),
-             NSWidth (srcRect), NSHeight (srcRect));
-      NSLog (@"  Destination: (%f, %f) %f×%f",
-             NSMinX (dstRect), NSMinY (dstRect),
-             NSWidth (dstRect), NSHeight (dstRect));
-    }
 
 #ifdef NS_IMPL_COCOA
   if ([self wantsLayer])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]