diff options
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/container.c b/sway/container.c index dcf4dcc8..63374f9e 100644 --- a/sway/container.c +++ b/sway/container.c | |||
@@ -149,7 +149,7 @@ swayc_t *new_output(wlc_handle handle) { | |||
149 | ws->is_focused = true; | 149 | ws->is_focused = true; |
150 | 150 | ||
151 | free(ws_name); | 151 | free(ws_name); |
152 | 152 | ||
153 | return output; | 153 | return output; |
154 | } | 154 | } |
155 | 155 | ||
@@ -354,7 +354,7 @@ swayc_t *destroy_workspace(swayc_t *workspace) { | |||
354 | if (!ASSERT_NONNULL(workspace)) { | 354 | if (!ASSERT_NONNULL(workspace)) { |
355 | return NULL; | 355 | return NULL; |
356 | } | 356 | } |
357 | 357 | ||
358 | // Do not destroy this if it's the last workspace on this output | 358 | // Do not destroy this if it's the last workspace on this output |
359 | swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT); | 359 | swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT); |
360 | if (output && output->children->length == 1) { | 360 | if (output && output->children->length == 1) { |