diff options
author | nicm <nicm> | 2018-02-05 08:21:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-02-05 08:21:54 +0000 |
commit | 7f4513ec34862805b06b2ff776785a36fdfec796 (patch) | |
tree | f9647c1b56edf455f82298de9c88ca6a63c99da1 /window-client.c | |
parent | 0817132f97bdcf475cd8641630e10133ebd8207d (diff) | |
download | rtmux-7f4513ec34862805b06b2ff776785a36fdfec796.tar.gz rtmux-7f4513ec34862805b06b2ff776785a36fdfec796.tar.bz2 rtmux-7f4513ec34862805b06b2ff776785a36fdfec796.zip |
Add struct status_line to hold status line members of struct client, not
used yet but will be soon. From Thomas Adam.
Diffstat (limited to 'window-client.c')
-rw-r--r-- | window-client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/window-client.c b/window-client.c index 76e536ec..aae9e0b4 100644 --- a/window-client.c +++ b/window-client.c @@ -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 * |