mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-15 04:27:52 -05: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;
|
||||
|
||||
damage_view:
|
||||
if (!term->window->is_maximized) {
|
||||
if (!term->window->is_maximized && !term->window->is_fullscreen) {
|
||||
term->unmaximized_width = term->width;
|
||||
term->unmaximized_height = term->height;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue