[vlc-commits] macosx: choose right default screen when entering fullscreen

David Fuhrmann git at videolan.org
Wed Feb 15 16:00:50 CET 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Feb 15 15:14:31 2012 +0100| [def306c55eecc85178251c5ed0d3a36728dfc367] | committer: 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: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=def306c55eecc85178251c5ed0d3a36728dfc367
---

 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 051ad8d..5057015 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -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)
     {



More information about the vlc-commits mailing list