mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Add a client redraw-window flag instead of the redraw-all flag and for
all just use the three flags together (window, borders, status).
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user