mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-05 07:15:30 -04:00
render: bug: clear clip region before tinting the window
This commit is contained in:
parent
b08238a1a1
commit
dc393bd5d7
1 changed files with 1 additions and 0 deletions
1
render.c
1
render.c
|
|
@ -1440,6 +1440,7 @@ grid_render(struct terminal *term)
|
||||||
if (term->flash.active) {
|
if (term->flash.active) {
|
||||||
/* Note: alpha is pre-computed in each color component */
|
/* Note: alpha is pre-computed in each color component */
|
||||||
/* TODO: dim while searching */
|
/* TODO: dim while searching */
|
||||||
|
pixman_image_set_clip_region(buf->pix, NULL);
|
||||||
pixman_image_fill_rectangles(
|
pixman_image_fill_rectangles(
|
||||||
PIXMAN_OP_OVER, buf->pix,
|
PIXMAN_OP_OVER, buf->pix,
|
||||||
&(pixman_color_t){.red=0x7fff, .green=0x7fff, .blue=0, .alpha=0x7fff},
|
&(pixman_color_t){.red=0x7fff, .green=0x7fff, .blue=0, .alpha=0x7fff},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue