summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xmga.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-07 16:15:08 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-07 16:15:08 +0000
commit212230995eefe69782eee6a79672a5805fce30ef (patch)
tree324b1a212ceec552a53cae0b228c5c43258ea7b9 /libvo/vo_xmga.c
parent316b6bc8f13f73e28183ac2ea97e3d6270e5b286 (diff)
downloadmpv-212230995eefe69782eee6a79672a5805fce30ef.tar.bz2
mpv-212230995eefe69782eee6a79672a5805fce30ef.tar.xz
fs resize bug fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4569 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r--libvo/vo_xmga.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index 508ba94e0a..3dc2ab584b 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -102,6 +102,9 @@ static XSetWindowAttributes xWAttribs;
static void mDrawColorKey( void )
{
+ XSetBackground( mDisplay,mGC,0 );
+// XFillRectangle( mDisplay,mWindow,mGC,0,0,drwWidth,drwHeight );
+ XClearWindow( mDisplay,mWindow );
XSetForeground( mDisplay,mGC,fgColor );
XFillRectangle( mDisplay,mWindow,mGC,drwX,drwY,drwWidth,(mFullscreen?drwHeight - 1:drwHeight) );
XFlush( mDisplay );