mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Chase wlroots: wlr_scene_surface_from_buffer renamed
Chases: 7b32c25a4fbdcde4197a06c8e0ff638c54753bd7 wlr_scene: Rename wlr_scene_surface_from_buffer
This commit is contained in:
		
							parent
							
								
									b5220a723e
								
							
						
					
					
						commit
						404fabec92
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -26,7 +26,7 @@ lab_wlr_surface_from_node(struct wlr_scene_node *node)
 | 
			
		|||
 | 
			
		||||
	if (node && node->type == WLR_SCENE_NODE_BUFFER) {
 | 
			
		||||
		buffer = wlr_scene_buffer_from_node(node);
 | 
			
		||||
		scene_surface = wlr_scene_surface_from_buffer(buffer);
 | 
			
		||||
		scene_surface = wlr_scene_surface_try_from_buffer(buffer);
 | 
			
		||||
		if (scene_surface) {
 | 
			
		||||
			return scene_surface->surface;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue