summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 20:57:13 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 20:57:13 +0000
commitb6004b1b7c8710c477a62a06ec7c3535c5e5e2cd (patch)
treee5115e8ab0383b2a86c2d64af0c474174326f491 /Gui
parent4bf6dad4cfc5de14ea0993ff5c7c3c6df251f17f (diff)
downloadmpv-b6004b1b7c8710c477a62a06ec7c3535c5e5e2cd.tar.bz2
mpv-b6004b1b7c8710c477a62a06ec7c3535c5e5e2cd.tar.xz
fix xmga fs, resize to movie size and mouse auto hide + dga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5956 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/interface.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Gui/interface.c b/Gui/interface.c
index da5703d516..308cc88af9 100644
--- a/Gui/interface.c
+++ b/Gui/interface.c
@@ -96,12 +96,10 @@ void guiGetEvent( int type,char * arg )
wsPostRedisplay( &appMPlayer.subWindow );
break;
case guiSetShVideo:
- if ( arg )
{
- tmp_sh_video_t * sh_video = (tmp_sh_video_t *)arg;
mplResizeToMovieSize( vo_dwidth,vo_dheight );
- guiIntfStruct.MovieWidth=sh_video->disp_w;
- guiIntfStruct.MovieHeight=sh_video->disp_h;
+ guiIntfStruct.MovieWidth=vo_dwidth;
+ guiIntfStruct.MovieHeight=vo_dwidth;
}
break;
#ifdef USE_DVDREAD