render: explain _why_ we set a clip region

This commit is contained in:
Daniel Eklöf 2020-03-24 21:04:30 +01:00
parent 5c5f1d096c
commit b46ad6a50a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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,