render: fix surface damage when rendering sixels.

Pass a damage region to render_row()/render_cell() when rendering
partially visible cells underneath a sixel.

This ensures the affected regions are later reported as 'damaged' to
the Wayland compositor.

Closes #1515
This commit is contained in:
Daniel Eklöf 2023-10-12 16:24:15 +02:00
parent 4aa67e464a
commit f5f2f5a954
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 13 additions and 9 deletions

View file

@ -53,9 +53,12 @@
### Deprecated
### Removed
### Fixed
* Foot not starting on linux kernels before 6.3 ([#1514][1514]).
* Cells underneath erased sixels not being repainted ([#1515][1515]).
[1514]: https://codeberg.org/dnkl/foot/issues/1514
[1515]: https://codeberg.org/dnkl/foot/issues/1515
### Security