Mercurial > mplayer.hg
changeset 1756:9621e4d14c6d
fullscreen fixed
author | pontscho |
---|---|
date | Wed, 29 Aug 2001 17:48:06 +0000 |
parents | ce3123d61380 |
children | 6f35d37af91c |
files | Gui/mplayer/play.c |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/play.c Wed Aug 29 17:45:40 2001 +0000 +++ b/Gui/mplayer/play.c Wed Aug 29 17:48:06 2001 +0000 @@ -54,8 +54,16 @@ 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 @@ 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;