fix color key handling bug

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4571 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2002-02-07 17:42:37 +00:00
parent a67170d995
commit e0cf4dcdb2
1 changed files with 2 additions and 0 deletions

View File

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