mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -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
|
|
@ -149,7 +149,7 @@ void container_move_to(struct sway_container *container,
|
|||
if (old_parent->children->length == 0) {
|
||||
char *ws_name = workspace_next_name(old_parent->name);
|
||||
struct sway_container *ws =
|
||||
container_workspace_create(old_parent, ws_name);
|
||||
workspace_create(old_parent, ws_name);
|
||||
free(ws_name);
|
||||
seat_set_focus(seat, ws);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue