From f022fae2054dd2fbae4b9b0ea6c9b06bdd2b510a Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Sun, 4 Sep 2022 09:39:19 +0200 Subject: [PATCH] correctly reset size of 1st tab if other tabs are closed and the window size was changed meanwhile --- src/xinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xinit.c b/src/xinit.c index 54cf77cd..deb22c88 100644 --- a/src/xinit.c +++ b/src/xinit.c @@ -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(); }