[vlc-devel] [PATCH] macosx: when we currently play a video in detached window, allow a 'show playlist', too

David Fuhrmann david.fuhrmann at googlemail.com
Tue Mar 6 21:32:19 CET 2012


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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index f7d24ec..9121cc2 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -637,7 +637,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 {
     BOOL b_activeVideo = [[VLCMain sharedInstance] activeVideoPlayback];
 
-    if ( ((([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask) != 0) && !b_splitview_removed && !b_activeVideo) || (b_nonembedded && b_activeVideo && sender != nil) )
+    if ( !b_splitview_removed && ( (([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask) != 0 && !b_activeVideo) || (b_nonembedded && b_activeVideo && sender != nil) ))
     {
         [self hideSplitView];
     }
-- 
1.7.7.5 (Apple Git-26)




More information about the vlc-devel mailing list