summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-31 19:40:33 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-31 19:40:33 +0000
commit52dd13f8c048c5c9e8fc041faa586bb59c425e66 (patch)
tree2e4b0f22643f835f0f950048a81e5cb6a008772e /libvo
parent0246dff153cdf86bfa283f618777cb601ccbf114 (diff)
downloadmpv-52dd13f8c048c5c9e8fc041faa586bb59c425e66.tar.bz2
mpv-52dd13f8c048c5c9e8fc041faa586bb59c425e66.tar.xz
initial window size (-xy) fixed - patch by Kazunori Ueno <jagarl@creator.club.ne.jp>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6859 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index c3f81a49a3..4426401342 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -259,7 +259,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t
srcW= width;
srcH= height;
vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2;
- vo_dwidth=width; vo_dheight=height;
+ vo_dwidth=d_width; vo_dheight=d_height;
if( flags&0x03 ) fullscreen = 1;
if( flags&0x02 ) vm = 1;