From cac4eadca01d669d31345993d5067b33a4311fdc Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 19 Aug 2018 20:13:07 +0000 Subject: Add a flag to force redrawing of the status line even if the content hasn't changed, needed for resizing. --- server-client.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'server-client.c') diff --git a/server-client.c b/server-client.c index dcf0e496..418af648 100644 --- a/server-client.c +++ b/server-client.c @@ -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 -- cgit