diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-23 16:24:11 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-23 16:24:11 +1000 |
commit | 38398e2d77d57dc06b67ec88a54091c897915602 (patch) | |
tree | c80935807865fd96ab7d037070287d4dfaba1863 /sway/tree/output.c | |
parent | Preserve buffers during transactions (diff) | |
download | sway-38398e2d77d57dc06b67ec88a54091c897915602.tar.gz sway-38398e2d77d57dc06b67ec88a54091c897915602.tar.zst sway-38398e2d77d57dc06b67ec88a54091c897915602.zip |
Implement atomic layout updates for tree operations
This implements atomic layout updates for when views map, reparent or
unmap.
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r-- | sway/tree/output.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index 8af319d5..e2927cdb 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c | |||
@@ -29,7 +29,6 @@ static void restore_workspaces(struct sway_container *output) { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | container_sort_workspaces(output); | 31 | container_sort_workspaces(output); |
32 | arrange_and_commit(&root_container); | ||
33 | } | 32 | } |
34 | 33 | ||
35 | struct sway_container *output_create( | 34 | struct sway_container *output_create( |
@@ -66,7 +65,6 @@ struct sway_container *output_create( | |||
66 | 65 | ||
67 | struct sway_container *output = container_create(C_OUTPUT); | 66 | struct sway_container *output = container_create(C_OUTPUT); |
68 | output->sway_output = sway_output; | 67 | output->sway_output = sway_output; |
69 | sway_output->swayc = output; | ||
70 | output->name = strdup(name); | 68 | output->name = strdup(name); |
71 | if (output->name == NULL) { | 69 | if (output->name == NULL) { |
72 | container_destroy(output); | 70 | container_destroy(output); |