Add struct status_line to hold status line members of struct client, not

used yet but will be soon. From Thomas Adam.
This commit is contained in:
nicm
2018-02-05 08:21:54 +00:00
parent 0817132f97
commit 7f4513ec34
5 changed files with 57 additions and 50 deletions

View File

@ -229,10 +229,10 @@ window_client_draw(__unused void *modedata, void *itemdata,
screen_write_hline(ctx, sx, 0, 0);
screen_write_cursormove(ctx, cx, cy + sy - 1);
if (c->old_status != NULL)
screen_write_fast_copy(ctx, c->old_status, 0, 0, sx, 1);
if (c->status.old_status != NULL)
screen_write_fast_copy(ctx, c->status.old_status, 0, 0, sx, 1);
else
screen_write_fast_copy(ctx, &c->status, 0, 0, sx, 1);
screen_write_fast_copy(ctx, &c->status.status, 0, 0, sx, 1);
}
static struct screen *