mirror of
https://github.com/tmux/tmux.git
synced 2025-03-24 23:08:47 +00:00
Do not update focus on client's without a session.
This commit is contained in:
parent
31e8d4676a
commit
9260f5dc96
@ -159,7 +159,8 @@ server_client_clear_overlay(struct client *c)
|
||||
c->overlay_data = NULL;
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user