aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-11-30 19:53:14 -0500
committerSimon Ser <contact@emersion.fr>2023-12-01 09:11:20 +0100
commitf12023b1a26e30b7c041551a4713ab81014d138d (patch)
treeb369dbf556c67aee36f05848a03825ca6eee16e1
parent2cd73a33c26ea6510a2f50359b1c550cd9b4fead (diff)
Don't destroy output layout on exit
wlroots will destroy this object itself.
-rw-r--r--sway/tree/root.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c
index 478df00c..dc51c3be 100644
--- a/sway/tree/root.c
+++ b/sway/tree/root.c
@@ -53,7 +53,6 @@ void root_destroy(struct sway_root *root) {
list_free(root->scratchpad);
list_free(root->non_desktop_outputs);
list_free(root->outputs);
- wlr_output_layout_destroy(root->output_layout);
free(root);
}