diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2022-01-01 14:04:53 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-01-08 16:09:27 +0000 |
commit | 83ab5055fd36bd0f8a0106257e45d8ed303636d8 (patch) | |
tree | c8d46a99ea687e21d7e6a9709cf336f4f2077213 /xcursor/wlr_xcursor.c | |
parent | 59b9518f072527ac59593e51df7f5d5331a34f0e (diff) |
scene/subsurface_tree: fix handling subsurface destruction
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.
Diffstat (limited to 'xcursor/wlr_xcursor.c')
0 files changed, 0 insertions, 0 deletions