Options to set the colour of the pane borders, with different colours for the

active pane.
This commit is contained in:
Nicholas Marriott
2010-01-03 12:51:05 +00:00
parent 121ba57b55
commit 7e4f8b45b6
10 changed files with 106 additions and 38 deletions

View File

@ -164,6 +164,21 @@ server_redraw_window(struct window *w)
w->flags |= WINDOW_REDRAW;
}
void
server_redraw_window_borders(struct window *w)
{
struct client *c;
u_int i;
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
c = ARRAY_ITEM(&clients, i);
if (c == NULL || c->session == NULL)
continue;
if (c->session->curw->window == w)
c->flags |= CLIENT_BORDERS;
}
}
void
server_status_window(struct window *w)
{