destroy xftdrawable
This commit is contained in:
parent
00ddb9d398
commit
9d48aaac1f
1
draw.c
1
draw.c
|
@ -67,6 +67,7 @@ drawtext(Display *disp, int screen, int x, int y, int w, int h, Drawable drawabl
|
||||||
y + (h / 2) - (font->height / 2) + font->ascent,
|
y + (h / 2) - (font->height / 2) + font->ascent,
|
||||||
(FcChar8 *) buf, len);
|
(FcChar8 *) buf, len);
|
||||||
XftColorFree(disp, DefaultVisual(disp, screen), DefaultColormap(disp, screen), &xftcolor);
|
XftColorFree(disp, DefaultVisual(disp, screen), DefaultColormap(disp, screen), &xftcolor);
|
||||||
|
XftDrawDestroy(xftdrawable);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue