aboutsummaryrefslogtreecommitdiff
path: root/cmd-select-pane.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-04-30 09:02:29 +0100
committerThomas Adam <thomas@xteddy.org>2019-04-30 09:02:29 +0100
commit4c5b0fbbcccb57eeb205df430d3fbd400530a2f9 (patch)
tree0b32dee3a9598b5ba9c06fb6840e3c5c25aaf21d /cmd-select-pane.c
parent7e0f9ab3ebc03725a522ec118fdc4f27080e657c (diff)
parent5a288b1efe9b5b6cb521a2b0861e6deb2252cb3c (diff)
downloadrtmux-4c5b0fbbcccb57eeb205df430d3fbd400530a2f9.tar.gz
rtmux-4c5b0fbbcccb57eeb205df430d3fbd400530a2f9.tar.bz2
rtmux-4c5b0fbbcccb57eeb205df430d3fbd400530a2f9.zip
Merge branch 'obsd-master'
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);