mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-10 04:27:45 -05:00
render: add render_refresh()
This commit is contained in:
parent
10a7b94804
commit
ebf0a11fa0
5 changed files with 16 additions and 16 deletions
10
render.c
10
render.c
|
|
@ -715,8 +715,7 @@ render_resize(struct terminal *term, int width, int height)
|
|||
term_damage_all(term);
|
||||
term_damage_view(term);
|
||||
|
||||
if (term->frame_callback == NULL)
|
||||
grid_render(term);
|
||||
render_refresh(term);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -751,3 +750,10 @@ render_update_cursor_surface(struct terminal *term)
|
|||
|
||||
wl_surface_commit(term->wl.pointer.surface);
|
||||
}
|
||||
|
||||
void
|
||||
render_refresh(struct terminal *term)
|
||||
{
|
||||
if (term->frame_callback == NULL)
|
||||
grid_render(term);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue