[vlc-devel] [PATCH 3/4] macosx: further improvement to updateWindow in order to include also the non-embedded window

David Fuhrmann david.fuhrmann at googlemail.com
Tue Feb 7 09:43:18 CET 2012


---
 modules/gui/macosx/MainWindow.m |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index df8158d..535ba0a 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1079,12 +1079,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
         //FIXME! b_chapters = p_input->stream.i_area_nb > 1;
 
         if (cachedInputState == PLAYING_S || b_buffering == YES)
-        {
-            if( b_fullscreen && o_fullscreen_window != nil )
-                [o_fullscreen_window makeKeyAndOrderFront: nil];
-            else
-                [self makeKeyAndOrderFront: nil];
-        }
+            [[o_video_view window] makeKeyAndOrderFront: nil];
+
         vlc_object_release( p_input );
     }
 
-- 
1.7.5.4




More information about the vlc-devel mailing list