render: bug: clear clip region before tinting the window

This commit is contained in:
Daniel Eklöf 2020-03-24 17:45:45 +01:00
parent b08238a1a1
commit dc393bd5d7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1440,6 +1440,7 @@ grid_render(struct terminal *term)
if (term->flash.active) {
/* Note: alpha is pre-computed in each color component */
/* TODO: dim while searching */
pixman_image_set_clip_region(buf->pix, NULL);
pixman_image_fill_rectangles(
PIXMAN_OP_OVER, buf->pix,
&(pixman_color_t){.red=0x7fff, .green=0x7fff, .blue=0, .alpha=0x7fff},