1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

Restore a default before macOS 14 API change (bug#72440)

* src/nsterm.m ([EmacsView initFrameFromEmacs:]): Set clipsToBounds to
YES.
This commit is contained in:
Gerd Möllmann 2024-08-05 09:39:01 +02:00
parent 7a14f60b90
commit 9253910a5a

View File

@ -8073,6 +8073,9 @@ - (instancetype) initFrameFromEmacs: (struct frame *)f
#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