Support setting the default window and pane background colours (window

and active pane via window-style and window-active-style options, an
individual pane by a new select-pane -P flag). From J Raynor.
This commit is contained in:
nicm
2015-04-19 21:05:27 +00:00
parent 4a7587931c
commit ee123c2489
9 changed files with 212 additions and 66 deletions

View File

@ -329,8 +329,7 @@ server_client_check_mouse(struct client *c, struct window_pane *wp)
if (options_get_number(oo, "mouse-select-pane") &&
(m->event == MOUSE_EVENT_DOWN || m->event == MOUSE_EVENT_WHEEL)) {
window_set_active_at(wp->window, m->x, m->y);
server_status_window(wp->window);
server_redraw_window_borders(wp->window);
server_redraw_window(wp->window);
wp = wp->window->active; /* may have changed */
}