emacs-diffs
[Top][All Lists]
Advanced

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

master 3ad4623bec4: ; Fix the fix for EmacsView


From: Gerd Moellmann
Subject: master 3ad4623bec4: ; Fix the fix for EmacsView
Date: Mon, 5 Aug 2024 11:27:10 -0400 (EDT)

branch: master
commit 3ad4623bec49428fda34a475641eae9f1f33fc78
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    ; Fix the fix for EmacsView
    
    * src/nsterm.m ([EmacsView initFrameFromEmacs:]): Check if
    setClipsToBound is available.
---
 src/nsterm.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index 3f0669aeefe..be9142f7a4a 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -8074,7 +8074,8 @@ ns_in_echo_area (void)
   old_title = 0;
   maximizing_resize = NO;
   /* Restore to default before macOS 14 (bug#72440).  */
-  [self setClipsToBounds: YES];
+  if ([self respondsToSelector:@selector(setClipsToBounds:)])
+    [self setClipsToBounds: YES];
 #endif
 
 #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MIN_REQUIRED >= 101400



reply via email to

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