Don't redraw control clients, from George Nachman.

This commit is contained in:
nicm 2019-04-30 06:21:30 +00:00 committed by Nicholas Marriott
parent e286178aa7
commit 750d5830c2

View File

@ -66,7 +66,7 @@ cmd_select_pane_redraw(struct window *w)
*/
TAILQ_FOREACH(c, &clients, entry) {
if (c->session == NULL)
if (c->session == NULL || (c->flags & CLIENT_CONTROL))
continue;
if (c->session->curw->window == w && tty_window_bigger(&c->tty))
server_redraw_client(c);