From 538c1292016e8d20efb053ca97bd43c69d49050b Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 25 May 2026 07:55:46 +0000 Subject: [PATCH] Preserve flags when creating new cells, from Brian Youngs. --- usr.bin/tmux/layout-custom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/layout-custom.c b/usr.bin/tmux/layout-custom.c index 81d6041faf3..35b6aaf7880 100644 --- a/usr.bin/tmux/layout-custom.c +++ b/usr.bin/tmux/layout-custom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout-custom.c,v 1.30 2026/05/24 08:40:43 nicm Exp $ */ +/* $OpenBSD: layout-custom.c,v 1.31 2026/05/25 07:55:46 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott @@ -335,7 +335,7 @@ layout_assign(struct window_pane **wp, struct layout_cell *lc, int flags) case LAYOUT_TOPBOTTOM: case LAYOUT_FLOATING: TAILQ_FOREACH(lcchild, &lc->cells, entry) - layout_assign(wp, lcchild, PANE_FLOATING); + layout_assign(wp, lcchild, flags); return; } }