fix(session): window sizes not stored with float windows (#37344)

This commit is contained in:
zeertzjq
2026-01-10 22:28:45 +08:00
committed by GitHub
parent df2323da70
commit 2d3dc070ce
2 changed files with 12 additions and 3 deletions

View File

@@ -783,7 +783,7 @@ static int makeopens(FILE *fd, char *dirnow)
for (win_T *wp = tab_firstwin; wp != NULL; wp = wp->w_next) {
if (ses_do_win(wp)) {
nr++;
} else {
} else if (!wp->w_floating) {
restore_size = false;
}
if (curwin == wp) {