mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: explain _why_ we set a clip region
This commit is contained in:
parent
5c5f1d096c
commit
b46ad6a50a
1 changed files with 1 additions and 0 deletions
1
render.c
1
render.c
|
|
@ -1279,6 +1279,7 @@ grid_render(struct terminal *term)
|
|||
term->render.was_searching = term->is_searching;
|
||||
}
|
||||
|
||||
/* Set clip region to prevent cells from overflowing into the margins */
|
||||
pixman_region16_t clip;
|
||||
pixman_region_init_rect(
|
||||
&clip,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue