Commit 7a5e8f42 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Mac OS X gui: Make sure the fullscreen window will stay on top (should fix a...

Mac OS X gui: Make sure the fullscreen window will stay on top (should fix a blinking issue when leaving fullscreen).
parent 348f0ffb
...@@ -417,6 +417,10 @@ ...@@ -417,6 +417,10 @@
[o_fullscreen_anim1 setDuration: 0.2]; [o_fullscreen_anim1 setDuration: 0.2];
[o_fullscreen_anim1 setFrameRate: 30]; [o_fullscreen_anim1 setFrameRate: 30];
[o_fullscreen_anim2 startWhenAnimation: o_fullscreen_anim1 reachesProgress: 1.0]; [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]; [o_fullscreen_anim1 startAnimation];
/* fullscreenAnimation will be unlocked when animation ends */ /* fullscreenAnimation will be unlocked when animation ends */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment