summaryrefslogtreecommitdiffstats
path: root/Gui/interface.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-05 18:46:42 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-05 18:46:42 +0000
commit8c9b41e72a2dea564512c31e15f5f72c663fd49c (patch)
tree339aa94d2b0fbf42fe619fdaa9f102682b0617e8 /Gui/interface.c
parent2d3655ed7138f946294d49ed020596f495f4ced3 (diff)
downloadmpv-8c9b41e72a2dea564512c31e15f5f72c663fd49c.tar.bz2
mpv-8c9b41e72a2dea564512c31e15f5f72c663fd49c.tar.xz
window resize bug fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5987 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/interface.c')
-rw-r--r--Gui/interface.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Gui/interface.c b/Gui/interface.c
index e346450149..60cd8cd5e1 100644
--- a/Gui/interface.c
+++ b/Gui/interface.c
@@ -98,7 +98,11 @@ void guiGetEvent( int type,char * arg )
break;
case guiSetShVideo:
{
- mplResizeToMovieSize( vo_dwidth,vo_dheight );
+ if ( !appMPlayer.subWindow.isFullScreen )
+ {
+ wsResizeWindow( &appMPlayer.subWindow,vo_dwidth,vo_dheight );
+ wsMoveWindow( &appMPlayer.subWindow,True,appMPlayer.sub.x,appMPlayer.sub.y );
+ }
guiIntfStruct.MovieWidth=vo_dwidth;
guiIntfStruct.MovieHeight=vo_dwidth;
}