mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:17:31 +00:00 
			
		
		
		
	Update status when pane selected with mouse, from Balazs Kezes.
This commit is contained in:
		@@ -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 */
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user