[vlc-commits] macosx: further improvement to updateWindow in order to include also the non-embedded window

David Fuhrmann git at videolan.org
Tue Feb 7 10:33:25 CET 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Feb  7 09:43:18 2012 +0100| [21caf19bc4d6d794c40efdd01f063a6172c4eaec] | committer: Felix Paul Kühne

macosx: further improvement to updateWindow in order to include also the non-embedded window

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
(cherry picked from commit 6c5e08586e4cc8ac97ddcf43b6291ebc872546a6)

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

 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 2f26503..55ba301 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 );
     }
 



More information about the vlc-commits mailing list