diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-29 17:48:06 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-29 17:48:06 +0000 |
commit | a2b1e179a63927b6f430f591efeff6de6e56b629 (patch) | |
tree | 4ddd96f8f5cc17f905a52d392fe2740af189eb92 /Gui/mplayer/play.c | |
parent | 796fa2446a6855c03ecff525367311d75db29ccd (diff) | |
download | mpv-a2b1e179a63927b6f430f591efeff6de6e56b629.tar.bz2 mpv-a2b1e179a63927b6f430f591efeff6de6e56b629.tar.xz |
fullscreen fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1757 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/play.c')
-rw-r--r-- | Gui/mplayer/play.c | 12 |
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; |