remove alpha layer; bug otherwise
This commit is contained in:
parent
728bcb09be
commit
0745844db5
1
draw.c
1
draw.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue