diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-04-30 06:21:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-04-30 06:21:31 +0000 |
commit | 2bd500e116bcc5a565cc50e592c7197d73c9c25f (patch) | |
tree | 0c33209ae55f91ea43abc7dd77d28a2f36887658 | |
parent | f23899246fe93d2e7eeaa84c162e649c3e6f142e (diff) |
Don't redraw control clients, from George Nachman.
-rw-r--r-- | usr.bin/tmux/cmd-select-pane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-select-pane.c b/usr.bin/tmux/cmd-select-pane.c index ba8fc931639..d585191b115 100644 --- a/usr.bin/tmux/cmd-select-pane.c +++ b/usr.bin/tmux/cmd-select-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-select-pane.c,v 1.49 2019/04/26 11:38:51 nicm Exp $ */ +/* $OpenBSD: cmd-select-pane.c,v 1.50 2019/04/30 06:21:30 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |