From 88327c7698fc45a16d1a5235d71a078d419febb4 Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 19 Aug 2018 16:45:03 +0000 Subject: Add a client redraw-window flag instead of the redraw-all flag and for all just use the three flags together (window, borders, status). --- server-fn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server-fn.c') 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; } } -- cgit