Sync OpenBSD patchset 597:

Options to set the colour of the pane borders, with different colours for the
active pane.
This commit is contained in:
Tiago Cunha
2010-01-05 23:52:37 +00:00
parent 97c40b1f37
commit 106011aa53
10 changed files with 117 additions and 49 deletions

View File

@ -1,4 +1,4 @@
/* $Id: cmd-down-pane.c,v 1.13 2009-11-14 17:56:39 tcunha Exp $ */
/* $Id: cmd-down-pane.c,v 1.14 2010-01-05 23:52:37 tcunha Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@ -54,6 +54,7 @@ cmd_down_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
w->active = TAILQ_FIRST(&w->panes);
} while (!window_pane_visible(w->active));
server_status_window(wl->window);
server_redraw_window_borders(wl->window);
return (0);
}