mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
move workspace create to workspace.c
This commit is contained in:
parent
97b171649d
commit
a001890fb8
7 changed files with 69 additions and 67 deletions
|
|
@ -74,7 +74,7 @@ static struct cmd_results *cmd_move_container(struct sway_container *current,
|
|||
ws = workspace_by_name(ws_name);
|
||||
}
|
||||
if (!ws) {
|
||||
ws = container_workspace_create(NULL, ws_name ? ws_name : num_name);
|
||||
ws = workspace_create(NULL, ws_name ? ws_name : num_name);
|
||||
}
|
||||
free(ws_name);
|
||||
struct sway_container *old_parent = current->parent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue