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

David Fuhrmann git at videolan.org
Thu Feb 15 23:05:04 CET 2018


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Feb 15 19:06:27 2018 +0100| [ed40f665a783535887f4faf10cd26dac4d2c8c9a] | committer: Felix Paul Kühne

macosx: Reimplement macosx-fspanel option

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

(cherry picked from commit 5dbfb530ee4f826000b203f36f4f03e5b5512645)
Signed-off-by: Felix Paul Kühne <felix at feepk.net>

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

 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