mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	wlr-data-source: add set_actions stub
This commit is contained in:
		
							parent
							
								
									51de398885
								
							
						
					
					
						commit
						1fd81ebf2d
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
					@ -85,9 +85,15 @@ static void data_source_destroy(struct wl_client *client, struct wl_resource *re
 | 
				
			||||||
	wl_resource_destroy(resource);
 | 
						wl_resource_destroy(resource);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					static void data_source_set_actions(struct wl_client *client,
 | 
				
			||||||
 | 
							struct wl_resource *resource, uint32_t dnd_actions) {
 | 
				
			||||||
 | 
						wlr_log(L_DEBUG, "TODO: data source set actions");
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static struct wl_data_source_interface wl_data_source_impl = {
 | 
					static struct wl_data_source_interface wl_data_source_impl = {
 | 
				
			||||||
	.offer = data_source_offer,
 | 
						.offer = data_source_offer,
 | 
				
			||||||
	.destroy = data_source_destroy
 | 
						.destroy = data_source_destroy,
 | 
				
			||||||
 | 
						.set_actions = data_source_set_actions,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void destroy_wl_data_source(struct wl_resource *resource) {
 | 
					static void destroy_wl_data_source(struct wl_resource *resource) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue