1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

Fixed default background color for proper color key usage

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5044 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nick 2002-03-11 08:48:06 +00:00
parent 78afcadf2e
commit 91093ef1aa

View File

@ -296,7 +296,7 @@ if (vo_window == None)
window_depth = 24;
XMatchVisualInfo(mDisplay, mScreen, window_depth, TrueColor, &vinfo);
xswa.background_pixel = BlackPixel(mDisplay, mScreen);
xswa.background_pixel = fgColor; //BlackPixel(mDisplay, mScreen);
xswa.border_pixel = 0;
xswa.colormap = XCreateColormap(mDisplay, RootWindow(mDisplay, mScreen),
vinfo.visual, AllocNone);