mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Remove serial validation TODOs
This commit is contained in:
		
							parent
							
								
									38ed3b4245
								
							
						
					
					
						commit
						c599d8024c
					
				
					 2 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -339,7 +339,6 @@ static void data_device_set_selection(struct wl_client *client,
 | 
			
		|||
	struct wlr_seat_client *seat_client =
 | 
			
		||||
		wl_resource_get_user_data(dd_resource);
 | 
			
		||||
 | 
			
		||||
	// TODO: store serial and check against incoming serial here
 | 
			
		||||
	struct wlr_data_source *wlr_source = (struct wlr_data_source *)source;
 | 
			
		||||
	wlr_seat_set_selection(seat_client->seat, wlr_source, serial);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -246,7 +246,6 @@ static void device_handle_set_selection(struct wl_client *client,
 | 
			
		|||
	struct wlr_seat_client *seat_client =
 | 
			
		||||
		wl_resource_get_user_data(resource);
 | 
			
		||||
 | 
			
		||||
	// TODO: store serial and check against incoming serial here
 | 
			
		||||
	struct wlr_primary_selection_source *wlr_source =
 | 
			
		||||
		(struct wlr_primary_selection_source *)source;
 | 
			
		||||
	wlr_seat_set_primary_selection(seat_client->seat, wlr_source, serial);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue