diff options
| author | Alan Third | 2017-04-26 20:01:39 +0100 |
|---|---|---|
| committer | Alan Third | 2017-04-26 20:04:42 +0100 |
| commit | 2058ed65fba79ecdbda6604683540bf9f9860bae (patch) | |
| tree | 292765dd02ca7ab558a2e6577a8a9d0ed9c50529 /src | |
| parent | afa02fc58c523b31ccfcc657794d4865a40b02a8 (diff) | |
| download | emacs-2058ed65fba79ecdbda6604683540bf9f9860bae.tar.gz emacs-2058ed65fba79ecdbda6604683540bf9f9860bae.zip | |
Fix macOS version check (bug#26664)
* src/nsterm.m (initFrameFromEmacs): Prevent window tabbing mode on
macOS versions 10.12+.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 9c60740e661..f75a9fe2be8 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -7029,7 +7029,7 @@ not_in_argv (NSString *arg) | |||
| 7029 | allow this to be enabled until it's available on a Free system. | 7029 | allow this to be enabled until it's available on a Free system. |
| 7030 | Currently it only happens by accident and is buggy anyway. */ | 7030 | Currently it only happens by accident and is buggy anyway. */ |
| 7031 | #if defined (NS_IMPL_COCOA) && \ | 7031 | #if defined (NS_IMPL_COCOA) && \ |
| 7032 | MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12 | 7032 | MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12 |
| 7033 | [win setTabbingMode: NSWindowTabbingModeDisallowed]; | 7033 | [win setTabbingMode: NSWindowTabbingModeDisallowed]; |
| 7034 | #endif | 7034 | #endif |
| 7035 | 7035 | ||