mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	XCursor is not configured if no pointer device is available
This commit is contained in:
		
							parent
							
								
									f91fd78b99
								
							
						
					
					
						commit
						77d74dd34f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -393,7 +393,6 @@ struct sway_seat *seat_create(struct sway_input_manager *input,
 | 
			
		|||
		WL_SEAT_CAPABILITY_POINTER |
 | 
			
		||||
		WL_SEAT_CAPABILITY_TOUCH);
 | 
			
		||||
 | 
			
		||||
	seat_configure_xcursor(seat);
 | 
			
		||||
 | 
			
		||||
	wl_list_insert(&input->seats, &seat->link);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -438,6 +437,7 @@ static void seat_apply_input_config(struct sway_seat *seat,
 | 
			
		|||
 | 
			
		||||
static void seat_configure_pointer(struct sway_seat *seat,
 | 
			
		||||
		struct sway_seat_device *sway_device) {
 | 
			
		||||
	seat_configure_xcursor(seat);
 | 
			
		||||
	wlr_cursor_attach_input_device(seat->cursor->cursor,
 | 
			
		||||
		sway_device->input_device->wlr_device);
 | 
			
		||||
	seat_apply_input_config(seat, sway_device);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue