Unzoom before creating floating pane.

This commit is contained in:
Nicholas Marriott
2026-07-06 09:05:05 +01:00
parent 173cc3dfc5
commit 8237d72900
3 changed files with 8 additions and 1 deletions

View File

@@ -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.

View File

@@ -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)

View File

@@ -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);
}