diff options
author | 2018-04-03 13:08:45 -0400 | |
---|---|---|
committer | 2018-04-03 13:08:45 -0400 | |
commit | 5f4761c4f40f5d6ec550ccabaebe0f990b6e8bbc (patch) | |
tree | 75f4da71db52745ffd833e0bb7b110ff0044c084 /sway/commands/move.c | |
parent | move output code out of the tree (diff) | |
download | sway-5f4761c4f40f5d6ec550ccabaebe0f990b6e8bbc.tar.gz sway-5f4761c4f40f5d6ec550ccabaebe0f990b6e8bbc.tar.zst sway-5f4761c4f40f5d6ec550ccabaebe0f990b6e8bbc.zip |
unify workspace create functions
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r-- | sway/commands/move.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c index 644c622b..7ac5f009 100644 --- a/sway/commands/move.c +++ b/sway/commands/move.c | |||
@@ -74,7 +74,7 @@ static struct cmd_results *cmd_move_container(struct sway_container *current, | |||
74 | ws = workspace_by_name(ws_name); | 74 | ws = workspace_by_name(ws_name); |
75 | } | 75 | } |
76 | if (!ws) { | 76 | if (!ws) { |
77 | ws = workspace_create(ws_name ? ws_name : num_name); | 77 | ws = container_workspace_create(NULL, ws_name ? ws_name : num_name); |
78 | } | 78 | } |
79 | free(ws_name); | 79 | free(ws_name); |
80 | struct sway_container *old_parent = current->parent; | 80 | struct sway_container *old_parent = current->parent; |