mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #2055 from RedSoxFan/output-destroy-workspace-ipc
Send workspace::move in container_output_destroy
This commit is contained in:
		
						commit
						53a3fc63c5
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -244,6 +244,7 @@ static struct sway_container *container_output_destroy(
 | 
			
		|||
				container_remove_child(workspace);
 | 
			
		||||
				if (workspace->children->length > 0) {
 | 
			
		||||
					container_add_child(other_output, workspace);
 | 
			
		||||
					ipc_event_workspace(workspace, NULL, "move");
 | 
			
		||||
				} else {
 | 
			
		||||
					container_workspace_destroy(workspace);
 | 
			
		||||
				}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue