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

David Fuhrmann git at videolan.org
Wed Feb 15 16:03:45 CET 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Feb 15 15:14:31 2012 +0100| [268853101fce3dbd8390bdcd0eb009c1fabfb8d3] | 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>
(cherry picked from commit def306c55eecc85178251c5ed0d3a36728dfc367)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 74d2470..a29cc6c 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