mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: resize: ignore unconfigured windows
This commit is contained in:
parent
2f587f6f3d
commit
f960e7aff7
1 changed files with 3 additions and 0 deletions
3
render.c
3
render.c
|
|
@ -1140,6 +1140,9 @@ render_search_box(struct terminal *term)
|
|||
static bool
|
||||
maybe_resize(struct terminal *term, int width, int height, bool force)
|
||||
{
|
||||
if (!term->window->is_configured)
|
||||
return false;
|
||||
|
||||
if (term->cell_width == 0 && term->cell_height == 0)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue