mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-03 07:15:29 -04:00
render: don't update last 'un-maximized' size when in fullscreen
This commit is contained in:
parent
d6f0a47fb8
commit
9264e1e5bd
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -1346,7 +1346,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
|
||||||
term->render.last_cursor.cell = NULL;
|
term->render.last_cursor.cell = NULL;
|
||||||
|
|
||||||
damage_view:
|
damage_view:
|
||||||
if (!term->window->is_maximized) {
|
if (!term->window->is_maximized && !term->window->is_fullscreen) {
|
||||||
term->unmaximized_width = term->width;
|
term->unmaximized_width = term->width;
|
||||||
term->unmaximized_height = term->height;
|
term->unmaximized_height = term->height;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue