[vlc-devel] [PATCH 2/5] macosx: choose right default screen when entering fullscreen
David Fuhrmann
david.fuhrmann at googlemail.com
Wed Feb 15 15:14:31 CET 2012
this is expecially important when MainWindow is on one screen and non-embedded window on the other
---
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 6e6340f..d8b8771 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1344,7 +1344,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)
{
--
1.7.5.4
More information about the vlc-devel
mailing list