mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Merge remote-tracking branch 'upstream/master' into atomic
This commit is contained in:
commit
9e96cfd310
17 changed files with 507 additions and 41 deletions
|
|
@ -26,12 +26,10 @@ static void restore_workspaces(struct sway_container *output) {
|
|||
j--;
|
||||
}
|
||||
}
|
||||
|
||||
arrange_output(other);
|
||||
}
|
||||
|
||||
container_sort_workspaces(output);
|
||||
arrange_output(output);
|
||||
arrange_and_commit(&root_container);
|
||||
}
|
||||
|
||||
struct sway_container *output_create(
|
||||
|
|
@ -68,6 +66,7 @@ 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