aboutsummaryrefslogtreecommitdiffstats
path: root/sway/container.c
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-05 23:42:40 +0100
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-05 23:42:40 +0100
commit364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8 (patch)
treead4982838b282f2424c29490b00014ed62c0bdfe /sway/container.c
parentInit layout before checking config (diff)
downloadsway-364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8.tar.gz
sway-364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8.tar.zst
sway-364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8.zip
Fix whitespace issues.
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c4
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) {