1
0
mirror of https://github.com/tmux/tmux.git synced 2025-03-31 20:58:47 +00:00

Do not update focus on client's without a session.

This commit is contained in:
nicm 2025-01-17 15:53:01 +00:00
parent 31e8d4676a
commit 9260f5dc96

View File

@ -159,6 +159,7 @@ server_client_clear_overlay(struct client *c)
c->overlay_data = NULL; c->overlay_data = NULL;
c->tty.flags &= ~(TTY_FREEZE|TTY_NOCURSOR); c->tty.flags &= ~(TTY_FREEZE|TTY_NOCURSOR);
if (c->session != NULL)
window_update_focus(c->session->curw->window); window_update_focus(c->session->curw->window);
server_redraw_client(c); server_redraw_client(c);
} }