summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-select-pane.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-04-30 06:21:30 +0000
committernicm <nicm@openbsd.org>2019-04-30 06:21:30 +0000
commit83031e79e924e557a45b1c1321b11f56e39e637d (patch)
tree9bd345e7d205e0d8666b66edb072b7c44b88ff2b /usr.bin/tmux/cmd-select-pane.c
parentFix memory leak in window tree search, from Amos Bird. (diff)
downloadwireguard-openbsd-83031e79e924e557a45b1c1321b11f56e39e637d.tar.xz
wireguard-openbsd-83031e79e924e557a45b1c1321b11f56e39e637d.zip
Don't redraw control clients, from George Nachman.
Diffstat (limited to 'usr.bin/tmux/cmd-select-pane.c')
-rw-r--r--usr.bin/tmux/cmd-select-pane.c4
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);