diff options
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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); +} |
