diff options
| author | Gerd Möllmann | 2024-08-05 09:39:01 +0200 |
|---|---|---|
| committer | Gerd Möllmann | 2024-08-05 09:41:15 +0200 |
| commit | 9253910a5a5ec89fe6e676e53f355f3b0bdc176e (patch) | |
| tree | 1f2b7daae300b3db999ab7cf5efdf0a7b8f5e063 /src | |
| parent | 7a14f60b90ea640087b759466f2e2bafa490699d (diff) | |
| download | emacs-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.m | 3 |
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 |