mirror of https://github.com/mpv-player/mpv
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:
parent
a67170d995
commit
e0cf4dcdb2
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue