summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r--usr.bin/tmux/server-client.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 87062ed7ee6..804ed58761d 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.256 2018/08/19 16:45:03 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.257 2018/08/19 20:13:07 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1319,6 +1319,12 @@ server_client_check_redraw(struct client *c)
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED))
return;
+ if (c->flags & CLIENT_ALLREDRAWFLAGS) {
+ log_debug("%s: redraw%s%s%s", c->name,
+ (c->flags & CLIENT_REDRAWWINDOW) ? " window" : "",
+ (c->flags & CLIENT_REDRAWSTATUS) ? " status" : "",
+ (c->flags & CLIENT_REDRAWBORDERS) ? " borders" : "");
+ }
/*
* If there is outstanding data, defer the redraw until it has been