mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	input config: merge left_handed option
This commit is contained in:
		
							parent
							
								
									5912be46c3
								
							
						
					
					
						commit
						a6c5628fa7
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -52,6 +52,9 @@ void merge_input_config(struct input_config *dst, struct input_config *src) {
 | 
				
			||||||
	if (src->dwt != INT_MIN) {
 | 
						if (src->dwt != INT_MIN) {
 | 
				
			||||||
		dst->dwt = src->dwt;
 | 
							dst->dwt = src->dwt;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						if (src->left_handed != INT_MIN) {
 | 
				
			||||||
 | 
							dst->left_handed = src->left_handed;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	if (src->middle_emulation != INT_MIN) {
 | 
						if (src->middle_emulation != INT_MIN) {
 | 
				
			||||||
		dst->middle_emulation = src->middle_emulation;
 | 
							dst->middle_emulation = src->middle_emulation;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue