[vlc-commits] macosx: when we currently play a video in detached	window, allow a '  show playlist', too
    David Fuhrmann 
    git at videolan.org
       
    Wed Mar  7 15:32:34 CET 2012
    
    
  
vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Mar  6 21:30:18 2012 +0100| [d5922c5277edecd504eb1e3ffd0b83cd7aac8717] | committer: David Fuhrmann
macosx: when we currently play a video in detached window, allow a 'show playlist', too
(cherry picked from commit df071469ea293d66d4d4288f16150b76902ba86e)
Signed-off-by: David Fuhrmann <david.fuhrmann at googlemail.com>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=d5922c5277edecd504eb1e3ffd0b83cd7aac8717
---
 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 3f53b08..0ff4f63 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];
     }
    
    
More information about the vlc-commits
mailing list