diff options
author | nicm <nicm> | 2018-08-19 16:45:03 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-08-19 16:45:03 +0000 |
commit | 88327c7698fc45a16d1a5235d71a078d419febb4 (patch) | |
tree | 174a1dad71f2dd7a08e0d181b48317c134c454dc /server-fn.c | |
parent | bd2896b65e8fd205e3207ed70558d9ebfd106909 (diff) |
Add a client redraw-window flag instead of the redraw-all flag and for
all just use the three flags together (window, borders, status).
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server-fn.c b/server-fn.c index a9446bc5..c4429033 100644 --- a/server-fn.c +++ b/server-fn.c @@ -35,13 +35,13 @@ static void server_destroy_session_group(struct session *); void server_redraw_client(struct client *c) { - c->flags |= CLIENT_REDRAW; + c->flags |= CLIENT_ALLREDRAWFLAGS; } void server_status_client(struct client *c) { - c->flags |= CLIENT_STATUS; + c->flags |= CLIENT_REDRAWSTATUS; } void @@ -110,7 +110,7 @@ server_redraw_window_borders(struct window *w) TAILQ_FOREACH(c, &clients, entry) { if (c->session != NULL && c->session->curw->window == w) - c->flags |= CLIENT_BORDERS; + c->flags |= CLIENT_REDRAWBORDERS; } } |