summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_xvidix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c
index ad546e41ab..f4315112fa 100644
--- a/libvo/vo_xvidix.c
+++ b/libvo/vo_xvidix.c
@@ -173,6 +173,8 @@ static void set_window(int force_update,const vo_tune_info_t *info)
/* mDrawColorKey: */
/* fill drawable with specified color */
+ XSetBackground( mDisplay,mGC,0 );
+ XClearWindow( mDisplay,mWindow );
XSetForeground(mDisplay, mGC, fgColor);
XFillRectangle(mDisplay, mWindow, mGC, drwX, drwY, drwWidth,
(mFullscreen ? drwHeight - 1 : drwHeight));