summaryrefslogtreecommitdiffstats
path: root/cmd-select-pane.c
diff options
context:
space:
mode:
authornicm <nicm>2019-04-30 06:21:30 +0000
committernicm <nicm>2019-04-30 06:21:30 +0000
commit5a288b1efe9b5b6cb521a2b0861e6deb2252cb3c (patch)
treedbfb3c053fe71956dc63dabe5bc84ae04248d460 /cmd-select-pane.c
parent82c789ee585ea2b3cc9c95241e62fad9f1e4af30 (diff)
Don't redraw control clients, from George Nachman.
Diffstat (limited to 'cmd-select-pane.c')
-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 89c6fb20..92ecb734 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);