aboutsummaryrefslogtreecommitdiff
path: root/sway/config/output.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-03 12:34:01 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-03 12:34:01 -0400
commit09d448ea2df60b7e4504b1ec4728e7f1df0244b7 (patch)
tree7555d93cbc9f701a173044dc3d4e437d1db95f67 /sway/config/output.c
parentb4c5f79725142c78a398a22981392d645bc9d2e9 (diff)
unify container destroy functions
Diffstat (limited to 'sway/config/output.c')
-rw-r--r--sway/config/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config/output.c b/sway/config/output.c
index b4e56efa..c4b74ce2 100644
--- a/sway/config/output.c
+++ b/sway/config/output.c
@@ -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;
}