]> git.sesse.net Git - vlc/commitdiff
macosx: update condition for idle fullscreen button state
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Thu, 20 Jun 2013 18:55:54 +0000 (20:55 +0200)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Thu, 20 Jun 2013 19:52:40 +0000 (21:52 +0200)
modules/gui/macosx/MainWindow.m

index e96b6adc83003683cb1ceb5b24cc53a2ac9b3220..259589a2cc35b55c859c77c5e98477a4ea5fb878 100644 (file)
@@ -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];
         }