summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-04-20 09:07:56 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-04-20 09:07:56 +0000
commit9b79f521d6d75b3fc0667ffde2f4bb16872f1fc1 (patch)
treee5af399088e09f1cb4884bd85b745545f2b4176d
parente3ce604202093c56561d24d9802db0ce9dab4c4b (diff)
Also redraw panes which aren't pane 0. Problem reported by tb@.
-rw-r--r--usr.bin/tmux/server-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 38a3480f808..70e9319e6e6 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.327 2020/04/20 06:07:39 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.328 2020/04/20 09:07:55 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1767,6 +1767,7 @@ server_client_check_redraw(struct client *c)
redraw = 1;
else if (c->flags & CLIENT_REDRAWPANES)
redraw = !!(c->redraw_panes & (1 << bit));
+ bit++;
if (!redraw)
continue;
log_debug("%s: redrawing pane %%%u", __func__, wp->id);