mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	chase wlroots: wlr_surface_accepts args MR 2434
Ref: 5ecbd23c1d44119cb32b345782d50c9664853109
("wlr_surface: fix argument order consistency")
			
			
This commit is contained in:
		
							parent
							
								
									cb0db3542d
								
							
						
					
					
						commit
						a5db63c472
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -169,7 +169,7 @@ tablet_get_coords(struct drawing_tablet *tablet, double *x, double *y, double *d
 | 
			
		|||
	/* find the surface and return it if it accepts tablet events */
 | 
			
		||||
	struct wlr_surface *surface = lab_wlr_surface_from_node(node);
 | 
			
		||||
 | 
			
		||||
	if (surface && !wlr_surface_accepts_tablet_v2(tablet->tablet_v2, surface)) {
 | 
			
		||||
	if (surface && !wlr_surface_accepts_tablet_v2(surface, tablet->tablet_v2)) {
 | 
			
		||||
		return NULL;
 | 
			
		||||
	}
 | 
			
		||||
	return surface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,7 +50,7 @@ touch_get_coords(struct seat *seat, struct wlr_touch *touch, double x, double y,
 | 
			
		|||
	/* Find the surface and return it if it accepts touch events */
 | 
			
		||||
	struct wlr_surface *surface = lab_wlr_surface_from_node(node);
 | 
			
		||||
 | 
			
		||||
	if (surface && !wlr_surface_accepts_touch(seat->seat, surface)) {
 | 
			
		||||
	if (surface && !wlr_surface_accepts_touch(surface, seat->seat)) {
 | 
			
		||||
		surface = NULL;
 | 
			
		||||
	}
 | 
			
		||||
	return surface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue