fix: miss check c->mon when switch tty

This commit is contained in:
DreamMaoMao 2026-06-22 17:32:28 +08:00
parent 1b2e1cec68
commit e1c1bf77a7

View file

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