mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix potential segfault when setting container title
This commit is contained in:
		
							parent
							
								
									d3d1e38c1b
								
							
						
					
					
						commit
						89d1571041
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -348,7 +348,7 @@ struct sway_container *container_view_create(struct sway_container *sibling,
 | 
			
		|||
		swayc, title, sibling, sibling ? sibling->type : 0, sibling->name);
 | 
			
		||||
	// Setup values
 | 
			
		||||
	swayc->sway_view = sway_view;
 | 
			
		||||
	container_update_title(swayc, title);
 | 
			
		||||
	container_update_title(swayc, title ? title : "");
 | 
			
		||||
	swayc->width = 0;
 | 
			
		||||
	swayc->height = 0;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue