Commit def306c5 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>
parent f54b9825
...@@ -1345,7 +1345,7 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1345,7 +1345,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (!screen) if (!screen)
{ {
msg_Dbg( VLCIntf, "chosen screen isn't present, using current screen for fullscreen mode" ); 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) 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