mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #2858 from RyanDwyer/fix-move-to-floating-ws
Fix moving tiled containers to workspaces which only have floating views
This commit is contained in:
		
						commit
						10d07478ad
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -483,7 +483,8 @@ static struct cmd_results *cmd_move_container(int argc, char **argv) {
 | 
			
		|||
			ws = workspace_create(NULL, ws_name);
 | 
			
		||||
		}
 | 
			
		||||
		free(ws_name);
 | 
			
		||||
		destination = seat_get_focus_inactive(seat, &ws->node);
 | 
			
		||||
		struct sway_container *dst = seat_get_focus_inactive_tiling(seat, ws);
 | 
			
		||||
		destination = dst ? &dst->node : &ws->node;
 | 
			
		||||
	} else if (strcasecmp(argv[1], "output") == 0) {
 | 
			
		||||
		struct sway_output *new_output = output_in_direction(argv[2],
 | 
			
		||||
				old_output, container->x, container->y);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue