mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										2
									
								
								tmux.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tmux.h
									
									
									
									
									
								
							@@ -945,7 +945,7 @@ RB_HEAD(sessions, session);
 | 
			
		||||
 | 
			
		||||
/* Mouse wheel states. */
 | 
			
		||||
#define MOUSE_WHEEL_UP 0
 | 
			
		||||
#define MOUSE_WHEEL_DOWN 64
 | 
			
		||||
#define MOUSE_WHEEL_DOWN 1
 | 
			
		||||
 | 
			
		||||
/* Mouse helpers. */
 | 
			
		||||
#define MOUSE_BUTTONS(b) ((b) & MOUSE_MASK_BUTTONS)
 | 
			
		||||
 
 | 
			
		||||
@@ -529,7 +529,7 @@ window_copy_command(struct window_pane *wp, struct client *c, struct session *s,
 | 
			
		||||
		return;
 | 
			
		||||
	command = args->argv[0];
 | 
			
		||||
 | 
			
		||||
	if (m != NULL && m->valid)
 | 
			
		||||
	if (m != NULL && m->valid && !MOUSE_WHEEL(m->b))
 | 
			
		||||
		window_copy_move_mouse(m);
 | 
			
		||||
 | 
			
		||||
	if (args->argc == 1) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user