Commit e4ea3a00 authored by David Fuhrmann's avatar David Fuhrmann

macosx: disable native fullscreen on El Capitan

Native fullscreen seems to be on by default on El Capitan, even
if the corresponding flag is not set.
This implicitely disables the new split view feature if native
fullscreen is disabled.

close #15491
parent 50dcfe2a
...@@ -334,6 +334,9 @@ ...@@ -334,6 +334,9 @@
if (b_nativeFullscreenMode) { if (b_nativeFullscreenMode) {
[self setCollectionBehavior: NSWindowCollectionBehaviorFullScreenPrimary]; [self setCollectionBehavior: NSWindowCollectionBehaviorFullScreenPrimary];
} else if (OSX_EL_CAPITAN) {
// Native fullscreen seems to be default on El Capitan, this disables it explicitely
[self setCollectionBehavior: NSWindowCollectionBehaviorFullScreenAuxiliary];
} }
[super awakeFromNib]; [super awakeFromNib];
......
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