Don't destroy output layout on exit

wlroots will destroy this object itself.
This commit is contained in:
Alexander Orzechowski 2023-11-30 19:53:14 -05:00 committed by Simon Ser
parent 2cd73a33c2
commit f12023b1a2

View file

@ -53,7 +53,6 @@ void root_destroy(struct sway_root *root) {
list_free(root->scratchpad); list_free(root->scratchpad);
list_free(root->non_desktop_outputs); list_free(root->non_desktop_outputs);
list_free(root->outputs); list_free(root->outputs);
wlr_output_layout_destroy(root->output_layout);
free(root); free(root);
} }