mouse-select-pane has to redraw the borders now too.

This commit is contained in:
Nicholas Marriott 2010-01-08 09:14:15 +00:00
parent 6a45fab608
commit 6789088dce

View File

@ -290,6 +290,7 @@ server_client_handle_key(int key, struct mouse_event *mouse, void *data)
if (key == KEYC_MOUSE) { if (key == KEYC_MOUSE) {
if (options_get_number(oo, "mouse-select-pane")) { if (options_get_number(oo, "mouse-select-pane")) {
window_set_active_at(w, mouse->x, mouse->y); window_set_active_at(w, mouse->x, mouse->y);
server_redraw_window_borders(w);
wp = w->active; wp = w->active;
} }
window_pane_mouse(wp, c, mouse); window_pane_mouse(wp, c, mouse);