mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00: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:
parent
78afcadf2e
commit
91093ef1aa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user