mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: remove 'refresh' from render_resize()
This commit is contained in:
parent
46c434d3f1
commit
d07fd7de39
4 changed files with 8 additions and 9 deletions
5
render.c
5
render.c
|
|
@ -960,7 +960,7 @@ reflow(struct row **new_grid, int new_cols, int new_rows,
|
|||
|
||||
/* Move to terminal.c? */
|
||||
void
|
||||
render_resize(struct terminal *term, int width, int height, bool refresh)
|
||||
render_resize(struct terminal *term, int width, int height)
|
||||
{
|
||||
if (width == 0 || height == 0)
|
||||
return;
|
||||
|
|
@ -1086,8 +1086,7 @@ render_resize(struct terminal *term, int width, int height, bool refresh)
|
|||
term->render.last_cursor.cell = NULL;
|
||||
|
||||
term_damage_view(term);
|
||||
if (refresh)
|
||||
render_refresh(term);
|
||||
render_refresh(term);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue