[vlc-commits] macosx: fixed corner-case in which the playlist table was displayed instead of the newly created vout

Felix Paul Kühne git at videolan.org
Mon Jun 4 00:18:42 CEST 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun  4 00:16:21 2012 +0200| [b4a5fc7db91b80f8dce9345c675a21be7c8ea430] | committer: Felix Paul Kühne

macosx: fixed corner-case in which the playlist table was displayed instead of the newly created vout
(cherry picked from commit 208028660fe17278a04eafe0b05c3a715e069a71)

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

 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 fa68f77..cc2b974 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -799,7 +799,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
         if (!b_nonembedded)
         {
-            if (([o_video_view isHidden] && b_activeVideo) || b_restored )
+            if (([o_video_view isHidden] && b_activeVideo) || b_restored || (b_activeVideo && sender == nil) )
                 [self makeSplitViewHidden];
             else
                 [self makeSplitViewVisible];



More information about the vlc-commits mailing list