mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
render: cell: reset clip region also when we're NOT rendering a glyph
This commit is contained in:
parent
21e9031420
commit
fd99b28beb
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -479,7 +479,6 @@ render_cell(struct terminal *term, pixman_image_t *pix,
|
|||
}
|
||||
}
|
||||
|
||||
pixman_image_set_clip_region32(pix, NULL);
|
||||
}
|
||||
|
||||
pixman_image_unref(clr_pix);
|
||||
|
|
@ -499,6 +498,7 @@ draw_cursor:
|
|||
if (has_cursor && (term->cursor_style != CURSOR_BLOCK || !term->visual_focus))
|
||||
draw_cursor(term, cell, font, pix, &fg, &bg, x, y, cell_cols);
|
||||
|
||||
pixman_image_set_clip_region32(pix, NULL);
|
||||
return cell_cols;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue