correctly reset size of 1st tab if other tabs are closed and the window size was changed meanwhile

This commit is contained in:
Stefan Frederik 2022-09-04 09:39:19 +02:00
parent 02c1dce486
commit f022fae205
1 changed files with 1 additions and 0 deletions

View File

@ -1527,6 +1527,7 @@ static void destroy_tab(int *window_count, const char *win_path)
/* resetwin(1, 0, 0, 0, 0); */ /* create pixmap. resetwin(create_pixmap, clear_pixmap, force, w, h) */
tclvareval("restore_ctx ", xctx->current_win_path, " ; housekeeping_ctx", NULL);
resetwin(1, 1, 1, 0, 0);
set_modify(-1); /* sets window title */
draw();
}