mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Removed destination-is-ancestor check from container_move_to_container to match i3 behaviour
This commit is contained in:
		
							parent
							
								
									861dde100a
								
							
						
					
					
						commit
						b6da218974
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -240,7 +240,6 @@ static void container_move_to_workspace(struct sway_container *container,
 | 
			
		|||
static void container_move_to_container(struct sway_container *container,
 | 
			
		||||
		struct sway_container *destination) {
 | 
			
		||||
	if (container == destination
 | 
			
		||||
			|| container_has_ancestor(container, destination)
 | 
			
		||||
			|| container_has_ancestor(destination, container)) {
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue