mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
main: destroy sub-compositor at exit
This commit is contained in:
parent
44a353a7f7
commit
af8682210e
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
|
@ -1064,6 +1064,8 @@ out:
|
|||
wl_surface_destroy(term.wl.surface);
|
||||
if (term.wl.shm != NULL)
|
||||
wl_shm_destroy(term.wl.shm);
|
||||
if (term.wl.sub_compositor != NULL)
|
||||
wl_subcompositor_destroy(term.wl.sub_compositor);
|
||||
if (term.wl.compositor != NULL)
|
||||
wl_compositor_destroy(term.wl.compositor);
|
||||
if (term.wl.registry != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue