mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Check if mouse-select-pane is ON not off when setting mouse flags,
reported by oga.
This commit is contained in:
		@@ -469,7 +469,7 @@ server_client_reset_state(struct client *c)
 | 
			
		||||
	mode = s->mode;
 | 
			
		||||
	if ((mode & ALL_MOUSE_MODES) == 0) {
 | 
			
		||||
		if (TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry) != NULL &&
 | 
			
		||||
		    options_get_number(oo, "mouse-select-pane") == 0)
 | 
			
		||||
		    options_get_number(oo, "mouse-select-pane"))
 | 
			
		||||
			mode |= MODE_MOUSE_STANDARD;
 | 
			
		||||
		else if (options_get_number(oo, "mouse-select-window"))
 | 
			
		||||
			mode |= MODE_MOUSE_STANDARD;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user