[vlc-commits] macosx: update condition for idle fullscreen button state

David Fuhrmann git at videolan.org
Thu Jun 20 21:53:07 CEST 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Thu Jun 20 20:55:54 2013 +0200| [370d8f5d1e3dae23d5805dbefb75ac918d216585] | committer: David Fuhrmann

macosx: update condition for idle fullscreen button state

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

 modules/gui/macosx/MainWindow.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index e96b6ad..259589a 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -749,7 +749,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
             [[self animator] setFrame:frameBeforePlayback display:YES];
 
         // update fs button to reflect state for next startup
-        if (var_InheritBool(pl_Get(VLCIntf), "fullscreen")) {
+        if (var_InheritBool(VLCIntf, "fullscreen") || var_GetBool(pl_Get(VLCIntf), "fullscreen")) {
             [o_controls_bar setFullscreenState:YES];
         }
 



More information about the vlc-commits mailing list