Fix pan-scan in fullscreen mode

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15574 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2005-05-26 16:33:28 +00:00
parent 3cfef55557
commit b9bd2fc373
1 changed files with 2 additions and 1 deletions

View File

@ -666,6 +666,8 @@ static uint32_t control(uint32_t request, void *data, ...)
static NSRect old_view_frame;
NSRect device_rect = [[window screen] frame];
panscan_calc();
//go fullscreen
if(vo_fs)
{
@ -677,7 +679,6 @@ static uint32_t control(uint32_t request, void *data, ...)
mouseHide = YES;
}
panscan_calc();
old_frame = [window frame]; //save main window size & position
[window setFrame:device_rect display:YES animate:animate]; //zoom-in window with nice useless sfx
old_view_frame = [self bounds];