Commit 8b06a658 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)
parent 4ea48984
...@@ -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