From 98d214912baa517242b2cc867fd27aa816a50be3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Mon, 5 Aug 2024 09:39:01 +0200 Subject: [PATCH] Restore a default before macOS 14 API change (bug#72440) * src/nsterm.m ([EmacsView initFrameFromEmacs:]): Set clipsToBounds to YES. (cherry picked from commit 9253910a5a5ec89fe6e676e53f355f3b0bdc176e) --- 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 -- 2.39.2