mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
wayland/subsurface: Handle node unlinking on parent destroyed
It concerns subsurface state and the subsurface already listenes for the parent to get destroyed. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1958>
This commit is contained in:
@ -502,6 +502,7 @@ surface_handle_parent_surface_destroyed (struct wl_listener *listener,
|
||||
surface,
|
||||
sub.parent_destroy_listener);
|
||||
|
||||
g_node_unlink (surface->subsurface_branch_node);
|
||||
surface->sub.parent = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user