1
0
mirror of https://github.com/tmux/tmux.git synced 2025-03-29 02:08:48 +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,7 +159,8 @@ 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);
window_update_focus(c->session->curw->window); if (c->session != NULL)
window_update_focus(c->session->curw->window);
server_redraw_client(c); server_redraw_client(c);
} }