vlc | branch: master | David Fuhrmann <[email protected]> | Sat Oct 10 
16:58:01 2015 +0200| [e4ea3a00f704337a6a126362433a19c6f22e833f] | committer: 
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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4ea3a00f704337a6a126362433a19c6f22e833f
---

 modules/gui/macosx/Windows.m |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 657bab7..d317acb 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -334,6 +334,9 @@
 
     if (b_nativeFullscreenMode) {
         [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];

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to