Commit c57451c2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: make sure that VLC always shows a visibible video window when spawning...

macosx: make sure that VLC always shows a visibible video window when spawning a new vout (close #6418)
(cherry picked from commit 8b06a658de60f18809b4282baa6f216333456495)
parent a1bf9b27
...@@ -1400,9 +1400,9 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1400,9 +1400,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_detached_video_window setLevel:NSNormalWindowLevel]; [o_detached_video_window setLevel:NSNormalWindowLevel];
[o_detached_video_window useOptimizedDrawing: YES]; [o_detached_video_window useOptimizedDrawing: YES];
[o_detached_video_window center]; [o_detached_video_window center];
[o_detached_video_window makeKeyAndOrderFront:self];
b_nonembedded = YES; b_nonembedded = YES;
} }
[[o_video_view window] makeKeyAndOrderFront: self];
if (p_vout) if (p_vout)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment