Add a flag to force redrawing of the status line even if the content

hasn't changed, needed for resizing.
This commit is contained in:
nicm
2018-08-19 20:13:07 +00:00
parent d95fad3d5f
commit cac4eadca0
3 changed files with 23 additions and 10 deletions

View File

@ -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