mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	seat: re-map pointer to output on reconfigure
Makes testing easier, also consistent with other devices types on reconfigure.
This commit is contained in:
		
							parent
							
								
									19cab55092
								
							
						
					
					
						commit
						1d4961650f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -536,6 +536,7 @@ seat_reconfigure(struct server *server)
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		case WLR_INPUT_DEVICE_POINTER:
 | 
							case WLR_INPUT_DEVICE_POINTER:
 | 
				
			||||||
			configure_libinput(input->wlr_input_device);
 | 
								configure_libinput(input->wlr_input_device);
 | 
				
			||||||
 | 
								map_pointer_to_output(seat, input->wlr_input_device);
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		case WLR_INPUT_DEVICE_TOUCH:
 | 
							case WLR_INPUT_DEVICE_TOUCH:
 | 
				
			||||||
			configure_libinput(input->wlr_input_device);
 | 
								configure_libinput(input->wlr_input_device);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue