mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Don't reset cursor during mouse operations
This commit is contained in:
		
							parent
							
								
									e4053191e6
								
							
						
					
					
						commit
						d0dca7f35e
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -301,7 +301,9 @@ static void transaction_apply(struct sway_transaction *transaction) {
 | 
			
		|||
	if (root->outputs->length) {
 | 
			
		||||
		struct sway_seat *seat;
 | 
			
		||||
		wl_list_for_each(seat, &server.input->seats, link) {
 | 
			
		||||
			cursor_rebase(seat->cursor);
 | 
			
		||||
			if (seat->operation == OP_NONE) {
 | 
			
		||||
				cursor_rebase(seat->cursor);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue