mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	disable client's scene node after create it (only XDGShell)
will be enabled when setting up its monitor and arrange it Bug: https://github.com/djpohly/dwl/issues/306
This commit is contained in:
		
							parent
							
								
									6682878009
								
							
						
					
					
						commit
						92e7752203
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -1474,6 +1474,7 @@ mapnotify(struct wl_listener *listener, void *data)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Create scene tree for this client and its border */
 | 
						/* Create scene tree for this client and its border */
 | 
				
			||||||
	c->scene = wlr_scene_tree_create(layers[LyrTile]);
 | 
						c->scene = wlr_scene_tree_create(layers[LyrTile]);
 | 
				
			||||||
 | 
						wlr_scene_node_set_enabled(&c->scene->node, c->type != XDGShell);
 | 
				
			||||||
	c->scene_surface = c->type == XDGShell
 | 
						c->scene_surface = c->type == XDGShell
 | 
				
			||||||
			? wlr_scene_xdg_surface_create(c->scene, c->surface.xdg)
 | 
								? wlr_scene_xdg_surface_create(c->scene, c->surface.xdg)
 | 
				
			||||||
			: wlr_scene_subsurface_tree_create(c->scene, client_surface(c));
 | 
								: wlr_scene_subsurface_tree_create(c->scene, client_surface(c));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue