fix: miss check c->mon when switch tty

This commit is contained in:
DreamMaoMao 2026-06-22 17:32:28 +08:00
parent 1ae4858336
commit 7a93414f36

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;