mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	cursor: send a frame event after emulated button events (#2244)
This fixes the issue that emulated tablet/touchscreen button events sometimes don't take effect on applications immediately.
This commit is contained in:
		
							parent
							
								
									da68df5f5b
								
							
						
					
					
						commit
						a567b4dc3b
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1225,6 +1225,7 @@ cursor_emulate_button(struct seat *seat, uint32_t button,
 | 
			
		|||
		cursor_finish_button_release(seat, button);
 | 
			
		||||
		break;
 | 
			
		||||
	}
 | 
			
		||||
	wlr_seat_pointer_notify_frame(seat->seat);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue