mirror of
https://github.com/tmux/tmux.git
synced 2025-04-29 09:18:47 +00:00
Update status when pane selected with mouse, from Balazs Kezes.
This commit is contained in:
parent
2f19df09b1
commit
c011446e78
@ -329,6 +329,7 @@ server_client_check_mouse(struct client *c, struct window_pane *wp)
|
|||||||
if (options_get_number(oo, "mouse-select-pane") &&
|
if (options_get_number(oo, "mouse-select-pane") &&
|
||||||
(m->event == MOUSE_EVENT_DOWN || m->event == MOUSE_EVENT_WHEEL)) {
|
(m->event == MOUSE_EVENT_DOWN || m->event == MOUSE_EVENT_WHEEL)) {
|
||||||
window_set_active_at(wp->window, m->x, m->y);
|
window_set_active_at(wp->window, m->x, m->y);
|
||||||
|
server_status_window(wp->window);
|
||||||
server_redraw_window_borders(wp->window);
|
server_redraw_window_borders(wp->window);
|
||||||
wp = wp->window->active; /* may have changed */
|
wp = wp->window->active; /* may have changed */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user