diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 19:52:17 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 19:52:17 -0400 |
commit | a001890fb8a9fc8c7f0b8eac03ca5912be2de479 (patch) | |
tree | 2127025dfa5c7cfed6e75188d38ffdda448f9163 /sway/tree/layout.c | |
parent | move output damage to workspace destructor (diff) | |
download | sway-a001890fb8a9fc8c7f0b8eac03ca5912be2de479.tar.gz sway-a001890fb8a9fc8c7f0b8eac03ca5912be2de479.tar.zst sway-a001890fb8a9fc8c7f0b8eac03ca5912be2de479.zip |
move workspace create to workspace.c
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r-- | sway/tree/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 3cbbf3b4..a46359bd 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c | |||
@@ -149,7 +149,7 @@ void container_move_to(struct sway_container *container, | |||
149 | if (old_parent->children->length == 0) { | 149 | if (old_parent->children->length == 0) { |
150 | char *ws_name = workspace_next_name(old_parent->name); | 150 | char *ws_name = workspace_next_name(old_parent->name); |
151 | struct sway_container *ws = | 151 | struct sway_container *ws = |
152 | container_workspace_create(old_parent, ws_name); | 152 | workspace_create(old_parent, ws_name); |
153 | free(ws_name); | 153 | free(ws_name); |
154 | seat_set_focus(seat, ws); | 154 | seat_set_focus(seat, ws); |
155 | } | 155 | } |