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:
arpi 2002-05-04 22:52:56 +00:00
parent 835b369e70
commit 984c03c89a
1 changed files with 1 additions and 1 deletions

View File

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