# HG changeset patch # User reimar # Date 1347561152 0 # Node ID 65f3a403ab3eb8986ed91d0973d2be8642672765 # Parent a10c7a7a9232a8193c9e14b1785b76e28956972d Set up things like fullscreen status etc. before showing the window. diff -r a10c7a7a9232 -r 65f3a403ab3e libvo/vo_corevideo.m --- a/libvo/vo_corevideo.m Thu Sep 13 18:30:12 2012 +0000 +++ b/libvo/vo_corevideo.m Thu Sep 13 18:32:32 2012 +0000 @@ -555,9 +555,6 @@ if(error != kCVReturnSuccess) mp_msg(MSGT_VO, MSGL_ERR,"[vo_corevideo] Failed to create OpenGL texture(%d)\n", error); - //show window - [window makeKeyAndOrderFront:self]; - vo_fs = flags & VOFLAG_FULLSCREEN; if(vo_rootwin) @@ -568,6 +565,9 @@ if(vo_ontop) [self ontop]; + + //show window + [window makeKeyAndOrderFront:self]; } /*