mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Sync OpenBSD patchset 605:
mouse-select-pane has to redraw the borders now too.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: server-client.c,v 1.28 2010-01-05 23:52:37 tcunha Exp $ */
 | 
			
		||||
/* $Id: server-client.c,v 1.29 2010-01-08 16:35:38 tcunha Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -289,6 +289,7 @@ server_client_handle_key(int key, struct mouse_event *mouse, void *data)
 | 
			
		||||
	if (key == KEYC_MOUSE) {
 | 
			
		||||
		if (options_get_number(oo, "mouse-select-pane")) {
 | 
			
		||||
			window_set_active_at(w, mouse->x, mouse->y);
 | 
			
		||||
			server_redraw_window_borders(w);
 | 
			
		||||
			wp = w->active;
 | 
			
		||||
		}
 | 
			
		||||
		window_pane_mouse(wp, c, mouse);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user