From 212230995eefe69782eee6a79672a5805fce30ef Mon Sep 17 00:00:00 2001 From: pontscho Date: Thu, 7 Feb 2002 16:15:08 +0000 Subject: fs resize bug fix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4569 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xmga.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libvo/vo_xmga.c') 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 ); -- cgit v1.2.3