remove alpha layer; bug otherwise

This commit is contained in:
Julien Danjou 2007-10-02 17:06:38 +02:00
parent 728bcb09be
commit 0745844db5
1 changed files with 0 additions and 1 deletions

1
draw.c
View File

@ -67,7 +67,6 @@ drawtext(Display *disp, int screen, DC *drawcontext, Drawable drawable, const ch
xrcolor.red = textcolor.red; xrcolor.red = textcolor.red;
xrcolor.green = textcolor.green; xrcolor.green = textcolor.green;
xrcolor.blue = textcolor.blue; xrcolor.blue = textcolor.blue;
xrcolor.alpha = 255;
XftColorAllocValue(disp, DefaultVisual(disp, screen), DefaultColormap(disp, screen), &xrcolor, &xftcolor); XftColorAllocValue(disp, DefaultVisual(disp, screen), DefaultColormap(disp, screen), &xrcolor, &xftcolor);
xftdrawable = XftDrawCreate(disp, drawable, DefaultVisual(disp, screen), DefaultColormap(disp, screen)); xftdrawable = XftDrawCreate(disp, drawable, DefaultVisual(disp, screen), DefaultColormap(disp, screen));
XftDrawStringUtf8(xftdrawable, &xftcolor, drawcontext->font, x, y, (FcChar8 *) buf, len); XftDrawStringUtf8(xftdrawable, &xftcolor, drawcontext->font, x, y, (FcChar8 *) buf, len);