render: csd_part: we don’t use the ‘src’ pixman image

This commit is contained in:
Daniel Eklöf 2021-10-29 19:31:09 +02:00
parent 61635b4132
commit e69c3e5b1e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1566,12 +1566,9 @@ render_csd_part(struct terminal *term,
{
xassert(term->window->csd_mode == CSD_YES);
//pixman_image_t *src = pixman_image_create_solid_fill(color);
pixman_image_fill_rectangles(
PIXMAN_OP_SRC, buf->pix[0], color, 1,
&(pixman_rectangle16_t){0, 0, buf->width, buf->height});
//pixman_image_unref(src);
}
static void