mirror of https://github.com/mpv-player/mpv
small patch that fixes the purple window when the f key is pressed - by Attila Kinali <kinali@gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5977 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
835b369e70
commit
984c03c89a
|
@ -288,7 +288,7 @@ if (vo_window == None)
|
|||
window_depth = 24;
|
||||
XMatchVisualInfo(mDisplay, mScreen, window_depth, TrueColor, &vinfo);
|
||||
|
||||
xswa.background_pixel = vo_fs ? BlackPixel(mDisplay, mScreen) : fgColor;
|
||||
xswa.background_pixel = BlackPixel(mDisplay, mScreen);
|
||||
xswa.border_pixel = 0;
|
||||
xswa.colormap = XCreateColormap(mDisplay, RootWindow(mDisplay, mScreen),
|
||||
vinfo.visual, AllocNone);
|
||||
|
|
Loading…
Reference in New Issue