summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-30 10:55:17 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-30 10:55:17 +0000
commitb194ee83af094a2ad6d3d049f8cc97715555f5df (patch)
treea78b3616c8e31c49e715a2d465c564448899f440 /mplayer.c
parent6fc0377d0d0ae36bc84af932e478ca66778039ab (diff)
downloadmpv-b194ee83af094a2ad6d3d049f8cc97715555f5df.tar.bz2
mpv-b194ee83af094a2ad6d3d049f8cc97715555f5df.tar.xz
normal size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1766 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mplayer.c b/mplayer.c
index 113b22f0ce..a090b2e369 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -963,10 +963,9 @@ current_module="init_libvo";
#ifdef HAVE_NEW_GUI
if ( use_gui )
{
- if ( !appMPlayer.subWindow.isFullScreen )
- wsResizeWindow( &appMPlayer.subWindow,sh_video->disp_w,sh_video->disp_h );
- screen_size_x=appMPlayer.subWindow.Width;
- screen_size_y=appMPlayer.subWindow.Height;
+ if ( !appMPlayer.subWindow.isFullScreen ) wsResizeWindow( &appMPlayer.subWindow,sh_video->disp_w,sh_video->disp_h );
+ moviewidth=screen_size_x=appMPlayer.subWindow.Width;
+ movieheight=screen_size_y=appMPlayer.subWindow.Height;
}
#endif