diff options
| author | Gerd Möllmann | 2024-08-05 17:26:23 +0200 |
|---|---|---|
| committer | Gerd Möllmann | 2024-08-05 17:26:23 +0200 |
| commit | 3ad4623bec49428fda34a475641eae9f1f33fc78 (patch) | |
| tree | bda1082e364f634543066ca96d6b85b3c30bf700 | |
| parent | 1d0c68fbdcbfe0ab5f4e14882d8003f7b7d7d0a0 (diff) | |
| download | emacs-3ad4623bec49428fda34a475641eae9f1f33fc78.tar.gz emacs-3ad4623bec49428fda34a475641eae9f1f33fc78.zip | |
; Fix the fix for EmacsView
* src/nsterm.m ([EmacsView initFrameFromEmacs:]): Check if
setClipsToBound is available.
| -rw-r--r-- | src/nsterm.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 3f0669aeefe..be9142f7a4a 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -8074,7 +8074,8 @@ ns_in_echo_area (void) | |||
| 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). */ | 8076 | /* Restore to default before macOS 14 (bug#72440). */ |
| 8077 | [self setClipsToBounds: YES]; | 8077 | if ([self respondsToSelector:@selector(setClipsToBounds:)]) |
| 8078 | [self setClipsToBounds: YES]; | ||
| 8078 | #endif | 8079 | #endif |
| 8079 | 8080 | ||
| 8080 | #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 |