From 8237d729004af884e1ddb473df4fc03ce8a53cd8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 6 Jul 2026 09:05:05 +0100 Subject: [PATCH] Unzoom before creating floating pane. --- CHANGES | 6 ++++++ configure.ac | 2 +- layout.c | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 7b1a2a54d..6863d10d6 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +CHANGES FROM 3.7b TO 3.7c + +* Use message-style again as default for message-format. + +* Unzoom before creating floating panes to avoid a crash. + CHANGES FROM 3.7a TO 3.7b * Fix so that the end of a synchronized update again triggers a redraw. diff --git a/configure.ac b/configure.ac index a239c78d3..d2b61376b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # configure.ac -AC_INIT([tmux], 3.7b) +AC_INIT([tmux], 3.7c) AC_PREREQ([2.60]) AC_CONFIG_AUX_DIR(etc) diff --git a/layout.c b/layout.c index 70226d6af..157093d93 100644 --- a/layout.c +++ b/layout.c @@ -1417,6 +1417,7 @@ layout_get_floating_cell(struct cmdq_item *item, struct args *args, w->last_new_pane_y = oy; } + window_push_zoom(wp->window, 1, args_has(args, 'Z')); lcnew = layout_floating_pane(w, sx, sy, ox, oy); return (lcnew); }