Update status when pane selected with mouse, from Balazs Kezes.

This commit is contained in:
nicm 2014-10-02 09:31:30 +00:00
parent 2f19df09b1
commit c011446e78

View File

@ -329,6 +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);
wp = wp->window->active; /* may have changed */
}