mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-12 13:29:45 -05:00
This commit renames map/unmap listeners to clarify that they handle
subsurface events, and ensures the node is always destroyed before
the subsurface.
Without this patch, wl_list_remove() would operate on listener links in
already freed memory. glibc is usually lenient to bugs like this, but
musl isn't.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| output_layout.c | ||
| subsurface_tree.c | ||
| wlr_scene.c | ||
| xdg_shell.c | ||