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:
parent
31e8d4676a
commit
9260f5dc96
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user