From 7a93414f363054be3b4bba11fa5279b3380f29bc Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 22 Jun 2026 17:32:28 +0800 Subject: [PATCH] fix: miss check c->mon when switch tty --- src/action/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action/client.h b/src/action/client.h index aca5d2ef..4a1f72c2 100644 --- a/src/action/client.h +++ b/src/action/client.h @@ -175,7 +175,7 @@ void client_focus_group_member(Client *c) { void client_check_tab_node_visible(Client *c) { - if (!c || c->iskilling) + if (!c || c->iskilling || !c->mon) return; Client *head = c;