]> git.sesse.net Git - vlc/commitdiff
Mac OS X gui: Make sure the fullscreen window will stay on top (should fix a blinking...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 25 Apr 2007 19:55:51 +0000 (19:55 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 25 Apr 2007 19:55:51 +0000 (19:55 +0000)
modules/gui/macosx/embeddedwindow.m

index cb0e428c0d595cefe843d4d6ddb83d231984bdf8..e047c701b44eb371b6ce136b51ffb7decb233be9 100644 (file)
     [o_fullscreen_anim1 setDuration: 0.2];
     [o_fullscreen_anim1 setFrameRate: 30];
     [o_fullscreen_anim2 startWhenAnimation: o_fullscreen_anim1 reachesProgress: 1.0];
+
+    /* Make sure o_fullscreen_window is the frontmost window */
+    [o_fullscreen_window orderFront: self];
+
     [o_fullscreen_anim1 startAnimation];
     /* fullscreenAnimation will be unlocked when animation ends */
 }