From 6c0067c10360880334afa50815b880d04edcbf42 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 21 Mar 2024 11:30:42 +0000 Subject: Do not notify window-layout-changed if the window is about to be destroyed (since it may have been freed by the time the notify happens), from Romain Francoise in GitHub issue 3860. --- popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'popup.c') diff --git a/popup.c b/popup.c index 38a4c17f..804dd6ef 100644 --- a/popup.c +++ b/popup.c @@ -346,7 +346,7 @@ popup_make_pane(struct popup_data *pd, enum layout_type type) u_int hlimit; const char *shell; - window_unzoom(w); + window_unzoom(w, 1); lc = layout_split_pane(wp, type, -1, 0); hlimit = options_get_number(s->options, "history-limit"); -- cgit v1.2.3