emacs-diffs
[Top][All Lists]
Advanced

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

master 9253910a5a5: Restore a default before macOS 14 API change (bug#72


From: Gerd Moellmann
Subject: master 9253910a5a5: Restore a default before macOS 14 API change (bug#72440)
Date: Mon, 5 Aug 2024 03:41:28 -0400 (EDT)

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

    Restore a default before macOS 14 API change (bug#72440)
    
    * src/nsterm.m ([EmacsView initFrameFromEmacs:]): Set clipsToBounds to
    YES.
---
 src/nsterm.m | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/nsterm.m b/src/nsterm.m
index b883e605a5b..296e58c1697 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -8073,6 +8073,9 @@ ns_in_echo_area (void)
 #ifdef NS_IMPL_COCOA
   old_title = 0;
   maximizing_resize = NO;
+  /* Restore to default before macOS 14 (bug#72440).  */
+  if (NSAppKitVersionNumber >= NSAppKitVersionNumber14_0)
+    [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]