mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Implement atomic layout updates for tree operations
This implements atomic layout updates for when views map, reparent or unmap.
This commit is contained in:
parent
1c89f32533
commit
38398e2d77
18 changed files with 545 additions and 389 deletions
|
|
@ -29,7 +29,6 @@ static void restore_workspaces(struct sway_container *output) {
|
|||
}
|
||||
|
||||
container_sort_workspaces(output);
|
||||
arrange_and_commit(&root_container);
|
||||
}
|
||||
|
||||
struct sway_container *output_create(
|
||||
|
|
@ -66,7 +65,6 @@ struct sway_container *output_create(
|
|||
|
||||
struct sway_container *output = container_create(C_OUTPUT);
|
||||
output->sway_output = sway_output;
|
||||
sway_output->swayc = output;
|
||||
output->name = strdup(name);
|
||||
if (output->name == NULL) {
|
||||
container_destroy(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue