mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	Chase wlroots: every scene_node parent is now a tree
Chases wlroots ccd0f85c2a36308e35b153c7f9653abac7659af3 wlr_scene: Only allow parenting on a wlr_scene_tree
This commit is contained in:
		
							parent
							
								
									b7c9d0e055
								
							
						
					
					
						commit
						2ed7a10779
					
				
					 20 changed files with 97 additions and 93 deletions
				
			
		| 
						 | 
				
			
			@ -135,14 +135,14 @@ new_output_notify(struct wl_listener *listener, void *data)
 | 
			
		|||
	for (int i = 0; i < nr_layers; i++) {
 | 
			
		||||
		wl_list_init(&output->layers[i]);
 | 
			
		||||
		output->layer_tree[i] =
 | 
			
		||||
			wlr_scene_tree_create(&server->scene->tree.node);
 | 
			
		||||
			wlr_scene_tree_create(&server->scene->tree);
 | 
			
		||||
		node_descriptor_create(&output->layer_tree[i]->node,
 | 
			
		||||
			LAB_NODE_DESC_TREE, NULL);
 | 
			
		||||
	}
 | 
			
		||||
	output->layer_popup_tree = wlr_scene_tree_create(&server->scene->tree.node);
 | 
			
		||||
	output->layer_popup_tree = wlr_scene_tree_create(&server->scene->tree);
 | 
			
		||||
	node_descriptor_create(&output->layer_popup_tree->node,
 | 
			
		||||
		LAB_NODE_DESC_TREE, NULL);
 | 
			
		||||
	output->osd_tree = wlr_scene_tree_create(&server->scene->tree.node);
 | 
			
		||||
	output->osd_tree = wlr_scene_tree_create(&server->scene->tree);
 | 
			
		||||
	node_descriptor_create(&output->osd_tree->node,
 | 
			
		||||
		LAB_NODE_DESC_TREE, NULL);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue