mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
unify container destroy functions
This commit is contained in:
parent
b4c5f79725
commit
09d448ea2d
5 changed files with 40 additions and 41 deletions
|
|
@ -127,7 +127,7 @@ void apply_output_config(struct output_config *oc, struct sway_container *output
|
|||
if (oc && oc->enabled == 0) {
|
||||
wlr_output_layout_remove(root_container.sway_root->output_layout,
|
||||
wlr_output);
|
||||
container_output_destroy(output);
|
||||
container_destroy(output);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue