mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
subsurface: unlock surface on destroy
This commit is contained in:
parent
5dfaf5ea9c
commit
5f645598d8
1 changed files with 5 additions and 0 deletions
|
|
@ -683,6 +683,11 @@ static void subsurface_destroy(struct wlr_subsurface *subsurface) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (subsurface->has_cache) {
|
||||
wlr_surface_unlock_cached(subsurface->surface,
|
||||
subsurface->cached_seq);
|
||||
}
|
||||
|
||||
subsurface_unmap(subsurface);
|
||||
|
||||
wlr_signal_emit_safe(&subsurface->events.destroy, subsurface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue