mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	commands/move: reset geometry of promoted containers
This commit is contained in:
		
							parent
							
								
									432c4df6e7
								
							
						
					
					
						commit
						89ffeaae49
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -395,6 +395,8 @@ static bool container_move_in_direction(struct sway_container *container,
 | 
			
		|||
			workspace_insert_tiling(ancestor->workspace, container,
 | 
			
		||||
					index + (offs < 0 ? 0 : 1));
 | 
			
		||||
		}
 | 
			
		||||
		ancestor->height = ancestor->width = 0;
 | 
			
		||||
		ancestor->height_fraction = ancestor->width_fraction = 0;
 | 
			
		||||
		if (old_parent) {
 | 
			
		||||
			container_reap_empty(old_parent);
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue