[vlc-commits] macosx: fix playlist focus issue in nonembedded mode

David Fuhrmann git at videolan.org
Wed Nov 21 19:22:03 CET 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Nov 21 19:18:24 2012 +0100| [49829efdd242a7d4766bc9a140199cc9d1ce60f1] | committer: David Fuhrmann

macosx: fix playlist focus issue in nonembedded mode

close #7794

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index c2217f6..b4fa1f6 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -498,9 +498,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
         } else {
             [o_split_view setHidden: NO];
             [o_playlist_table setHidden: NO];
-            [o_video_view setHidden: !b_activeVideo];
-            if (b_activeVideo && [[o_video_view subviews] count] > 0)
-                [[o_video_view window] makeFirstResponder: [[o_video_view subviews] objectAtIndex:0]];
+            [o_video_view setHidden: YES];
         }
     }
 }



More information about the vlc-commits mailing list