mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:44:18 +00:00 
			
		
		
		
	Do not stop drag on double or triple click, GitHub issue 4272.
This commit is contained in:
		@@ -884,7 +884,11 @@ have_event:
 | 
			
		||||
		m->wp = -1;
 | 
			
		||||
 | 
			
		||||
	/* Stop dragging if needed. */
 | 
			
		||||
	if (type != DRAG && type != WHEEL && c->tty.mouse_drag_flag != 0) {
 | 
			
		||||
	if (type != DRAG &&
 | 
			
		||||
	    type != WHEEL &&
 | 
			
		||||
	    type != DOUBLE &&
 | 
			
		||||
	    type != TRIPLE &&
 | 
			
		||||
	    c->tty.mouse_drag_flag != 0) {
 | 
			
		||||
		if (c->tty.mouse_drag_release != NULL)
 | 
			
		||||
			c->tty.mouse_drag_release(c, m);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user