mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Change how double and triple clicks works so that one or the other is
fired - a double click is no longer triggered on the way to a triple click.
This commit is contained in:
		
							
								
								
									
										2
									
								
								tmux.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tmux.h
									
									
									
									
									
								
							@@ -166,6 +166,7 @@ enum {
 | 
			
		||||
	/* Mouse keys. */
 | 
			
		||||
	KEYC_MOUSE, /* unclassified mouse event */
 | 
			
		||||
	KEYC_DRAGGING, /* dragging in progress */
 | 
			
		||||
	KEYC_DOUBLECLICK, /* double click complete */
 | 
			
		||||
	KEYC_MOUSE_KEY(MOUSEMOVE),
 | 
			
		||||
	KEYC_MOUSE_KEY(MOUSEDOWN1),
 | 
			
		||||
	KEYC_MOUSE_KEY(MOUSEDOWN2),
 | 
			
		||||
@@ -1547,6 +1548,7 @@ struct client {
 | 
			
		||||
 | 
			
		||||
	struct event	 click_timer;
 | 
			
		||||
	u_int		 click_button;
 | 
			
		||||
	struct mouse_event click_event;
 | 
			
		||||
 | 
			
		||||
	struct status_line status;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user