diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-01-03 12:56:10 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-01-03 12:56:10 +0000 |
| commit | d07fd7de39d588f79da307a9d112e445af86869a (patch) | |
| tree | aa3d8a264c8f23d5f4a58ea495d85ebde31b5240 /render.c | |
| parent | wayland: window: apply all configure changes after acking the event (diff) | |
render: remove 'refresh' from render_resize()
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |
