[vlc-commits] macosx: Reimplement macosx-fspanel option

David Fuhrmann git at videolan.org
Thu Feb 15 19:07:35 CET 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Feb 15 19:06:27 2018 +0100| [5dbfb530ee4f826000b203f36f4f03e5b5512645] | committer: David Fuhrmann

macosx: Reimplement macosx-fspanel option

This was accidentially removed, but the option is still there
and users expect them to work.

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

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

diff --git a/modules/gui/macosx/VLCFSPanelController.m b/modules/gui/macosx/VLCFSPanelController.m
index d559430428..9b08acf4fc 100644
--- a/modules/gui/macosx/VLCFSPanelController.m
+++ b/modules/gui/macosx/VLCFSPanelController.m
@@ -301,6 +301,9 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
 
 - (void)fadeIn
 {
+    if (!var_InheritBool(getIntf(), "macosx-fspanel"))
+        return;
+
     [NSAnimationContext beginGrouping];
     [[NSAnimationContext currentContext] setDuration:0.4f];
     [[self.window animator] setAlphaValue:1.0f];



More information about the vlc-commits mailing list