From f12023b1a26e30b7c041551a4713ab81014d138d Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Thu, 30 Nov 2023 19:53:14 -0500 Subject: [PATCH] Don't destroy output layout on exit wlroots will destroy this object itself. --- sway/tree/root.c | 1 - 1 file changed, 1 deletion(-) 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); }