aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Möllmann2024-08-05 09:39:01 +0200
committerGerd Möllmann2024-08-05 09:41:15 +0200
commit9253910a5a5ec89fe6e676e53f355f3b0bdc176e (patch)
tree1f2b7daae300b3db999ab7cf5efdf0a7b8f5e063 /src
parent7a14f60b90ea640087b759466f2e2bafa490699d (diff)
downloademacs-9253910a5a5ec89fe6e676e53f355f3b0bdc176e.tar.gz
emacs-9253910a5a5ec89fe6e676e53f355f3b0bdc176e.zip
Restore a default before macOS 14 API change (bug#72440)
* src/nsterm.m ([EmacsView initFrameFromEmacs:]): Set clipsToBounds to YES.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m3
1 files changed, 3 insertions, 0 deletions
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)
8073#ifdef NS_IMPL_COCOA 8073#ifdef NS_IMPL_COCOA
8074 old_title = 0; 8074 old_title = 0;
8075 maximizing_resize = NO; 8075 maximizing_resize = NO;
8076 /* Restore to default before macOS 14 (bug#72440). */
8077 if (NSAppKitVersionNumber >= NSAppKitVersionNumber14_0)
8078 [self setClipsToBounds: YES];
8076#endif 8079#endif
8077 8080
8078#if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 8081#if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MIN_REQUIRED >= 101400