vlc | branch: master | Felix Paul Kühne <[email protected]> | Sun Apr  1 
20:14:12 2012 +0200| [8b06a658de60f18809b4282baa6f216333456495] | committer: 
Felix Paul Kühne

macosx: make sure that VLC always shows a visibible video window when spawning 
a new vout (close #6418)

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

 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 4f273eb..ee2ab17 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1400,9 +1400,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
         [o_detached_video_window setLevel:NSNormalWindowLevel];
         [o_detached_video_window useOptimizedDrawing: YES];
         [o_detached_video_window center];
-        [o_detached_video_window makeKeyAndOrderFront:self];
         b_nonembedded = YES;
     }
+    [[o_video_view window] makeKeyAndOrderFront: self];
 
     if (p_vout)
     {

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to