From bc900dc207ddcef08ed04f5bcbed26cb95468c37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
Date: Mon, 27 Feb 2012 21:40:18 +0100
Subject: [PATCH] macosx: don't show the playlist on stop in minimized mode
 (refs #6213) (cherry picked from commit
 23d755550b26259906b9d36443f20c0e2f3f1b56)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
---
 modules/gui/macosx/MainWindow.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index e82fea3a37..c9788ba22b 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -598,7 +598,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
     {
         if (b_splitview_removed)
         {
-            [self showSplitView];
+            if( !b_nonembedded ||( sender != nil && b_nonembedded))
+                [self showSplitView];
         }
 
         if (b_dropzone_active && ![[VLCMain sharedInstance] activeVideoPlayback])
-- 
2.25.4