diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-08-29 18:17:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-08-29 18:17:53 +0000 |
| commit | af8682210ec7b4f89f4d6a52fb568da9a4523d71 (patch) | |
| tree | 7daedf090f1f7c9ba283b06eceeb3665ecdcf581 | |
| parent | search: move wayland surface variables into the term struct (diff) | |
main: destroy sub-compositor at exit
| -rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |
