From 31b21a38333ad3c84dbcbb56c305e4b24a76b4f8 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 19 Jul 2022 07:10:13 +0000 Subject: [PATCH] Do not ignore the "off" flag when checking if a pane should be stopped, GitHub issue 3250. --- usr.bin/tmux/server-client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 046f8ecc9e7..b55003269f9 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.396 2022/07/06 08:31:59 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.397 2022/07/19 07:10:13 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -2221,7 +2221,8 @@ server_client_check_pane_buffer(struct window_pane *wp) } wpo = control_pane_offset(c, wp, &flag); if (wpo == NULL) { - off = 0; + if (!flag) + off = 0; continue; } if (!flag) -- 2.20.1