[vlc-commits] macosx: disable native fullscreen on El Capitan

David Fuhrmann git at videolan.org
Sat Oct 10 17:20:59 CEST 2015


vlc/vlc-2.2 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Oct 10 16:58:01 2015 +0200| [1b2daef13663d1a72f97e6b78d783b5810094be1] | 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

(cherry picked from commit e4ea3a00f704337a6a126362433a19c6f22e833f)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

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

 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 331da61..a8f4f78 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -335,6 +335,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];
     }
 
 



More information about the vlc-commits mailing list