summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm>2019-04-30 06:21:30 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2019-05-01 07:08:04 +0100
commit750d5830c2344d28bd6824681dfe5e3222933ef4 (patch)
tree59671f5bf796dff3c0add93a133f98eacee6c119
parente286178aa7f3e98ae76be58fe708db8822c6351c (diff)
Don't redraw control clients, from George Nachman.
-rw-r--r--cmd-select-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c
index 2873737f..747f0822 100644
--- a/cmd-select-pane.c
+++ b/cmd-select-pane.c
@@ -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);