[vlc-commits] macosx: fix issue where fullscreen controls are deactivated then video starts from lion fullscreen mode

David Fuhrmann git at videolan.org
Mon Apr 23 19:45:38 CEST 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Mon Apr 23 19:42:33 2012 +0200| [42f72172d84ba84b177e5bbec2115cc6ac3eaf4c] | committer: David Fuhrmann

macosx: fix issue where fullscreen controls are deactivated then video starts from lion fullscreen mode

close #6351

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

 modules/gui/macosx/MainWindow.m |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index fd29130..04a98a4 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1541,7 +1541,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
             [o_bottombar_view setHidden: b_videoPlayback];
         else
             [o_bottombar_view setHidden: NO];
-        if (!b_videoPlayback)
+        if( b_videoPlayback )
+            [o_fspanel setActive: nil];
+        else
             [o_fspanel setNonActive: nil];
     }
 



More information about the vlc-commits mailing list