aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree
diff options
context:
space:
mode:
authorLibravatar Alexander Orzechowski <alex@ozal.ski>2023-11-30 19:53:14 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2023-12-01 09:11:20 +0100
commitf12023b1a26e30b7c041551a4713ab81014d138d (patch)
treeb369dbf556c67aee36f05848a03825ca6eee16e1 /sway/tree
parentsway/config.c: use `memcpy()` for known buffer size (diff)
downloadsway-f12023b1a26e30b7c041551a4713ab81014d138d.tar.gz
sway-f12023b1a26e30b7c041551a4713ab81014d138d.tar.zst
sway-f12023b1a26e30b7c041551a4713ab81014d138d.zip
Don't destroy output layout on exit
wlroots will destroy this object itself.
Diffstat (limited to 'sway/tree')
-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) {
53 list_free(root->scratchpad); 53 list_free(root->scratchpad);
54 list_free(root->non_desktop_outputs); 54 list_free(root->non_desktop_outputs);
55 list_free(root->outputs); 55 list_free(root->outputs);
56 wlr_output_layout_destroy(root->output_layout);
57 free(root); 56 free(root);
58} 57}
59 58