vlc | branch: master | David Fuhrmann <[email protected]> | 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 <[email protected]>

> 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)
     {

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to