Commit 26885310 authored by David Fuhrmann's avatar David Fuhrmann Committed by Jean-Baptiste Kempf

macosx: choose right default screen when entering fullscreen

this is expecially important when MainWindow is on one screen and non-embedded window on the other
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit def306c5)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5477b8a2
......@@ -1345,7 +1345,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (!screen)
{
msg_Dbg( VLCIntf, "chosen screen isn't present, using current screen for fullscreen mode" );
screen = [self screen];
screen = [[o_video_view window] screen];
}
if (!screen)
{
......
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