summaryrefslogtreecommitdiffstats
path: root/screen-redraw.c
diff options
context:
space:
mode:
authornicm <nicm>2019-03-16 19:12:13 +0000
committernicm <nicm>2019-03-16 19:12:13 +0000
commitb588b1729ad9668a60d402d549506e56d72f1919 (patch)
tree97cb3d5f7803fbc220b1b88bf58e7d1b786b0d29 /screen-redraw.c
parent818fda03638e5001209886ddcd12b401c23dffae (diff)
Use a pointer for the active screen in the status line instead of
copying them around all the time.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index e8a62ea5..9880433d 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -569,7 +569,7 @@ screen_redraw_draw_status(struct screen_redraw_ctx *ctx)
struct client *c = ctx->c;
struct window *w = c->session->curw->window;
struct tty *tty = &c->tty;
- struct screen *s = &c->status.screen;
+ struct screen *s = c->status.active;
u_int i, y;
log_debug("%s: %s @%u", __func__, c->name, w->id);