mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	layers: arrange layers on output-layout change
This commit is contained in:
		
							parent
							
								
									99361d6ad8
								
							
						
					
					
						commit
						04580fa825
					
				
					 2 changed files with 8 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -216,8 +216,6 @@ server_init(struct server *server)
 | 
			
		|||
	wl_list_init(&server->views);
 | 
			
		||||
	wl_list_init(&server->unmanaged_surfaces);
 | 
			
		||||
 | 
			
		||||
	output_init(server);
 | 
			
		||||
 | 
			
		||||
	server->scene = wlr_scene_create();
 | 
			
		||||
	if (!server->scene) {
 | 
			
		||||
		wlr_log(WLR_ERROR, "unable to create scene");
 | 
			
		||||
| 
						 | 
				
			
			@ -229,7 +227,8 @@ server_init(struct server *server)
 | 
			
		|||
#endif
 | 
			
		||||
	server->menu_tree = wlr_scene_tree_create(&server->scene->node);
 | 
			
		||||
	server->osd_tree = wlr_scene_tree_create(&server->scene->node);
 | 
			
		||||
	wlr_scene_attach_output_layout(server->scene, server->output_layout);
 | 
			
		||||
 | 
			
		||||
	output_init(server);
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * Create some hands-off wlroots interfaces. The compositor is
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue