summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/play.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index 450e2c5dce..2569753190 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -54,8 +54,16 @@ void mplFullScreen( void )
appMPlayer.subWindow.OldY=( wsMaxY - appMPlayer.sub.height ) / 2;
}
}
+ else
+ {
+ mplx=appMPlayer.subWindow.OldX;
+ mply=appMPlayer.subWindow.OldY;
+ mplwidth=appMPlayer.subWindow.OldWidth;
+ mplheight=appMPlayer.subWindow.OldHeight;
+ }
wsFullScreen( &appMPlayer.subWindow );
- wsMoveTopWindow( &appMPlayer.subWindow );
+// wsMoveTopWindow( &appMPlayer.subWindow );
+ mplResize( 0,0,appMPlayer.subWindow.Width,appMPlayer.subWindow.Height );
}
extern int mplSubRender;
@@ -91,7 +99,7 @@ printf("%%%%%% PAUSE \n");
void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height )
{
-//printf("mplResize(%d,%d,%d,%d) \n",X,Y,width,height);
+printf("mplResize(%d,%d,%d,%d) \n",X,Y,width,height);
vo_setwindowsize( width,height );
vo_resize=1;