Commit 2058ed65 authored by Alan Third's avatar Alan Third
Browse files

Fix macOS version check (bug#26664)

* src/nsterm.m (initFrameFromEmacs): Prevent window tabbing mode on
macOS versions 10.12+.
parent afa02fc5
......@@ -7029,7 +7029,7 @@ This avoids an extra clear and redraw (flicker) at frame creation. */
allow this to be enabled until it's available on a Free system.
Currently it only happens by accident and is buggy anyway. */
#if defined (NS_IMPL_COCOA) && \
MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12
MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12
[win setTabbingMode: NSWindowTabbingModeDisallowed];
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment