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 );