diff --git a/src/wayland/meta-wayland-subsurface.c b/src/wayland/meta-wayland-subsurface.c index 45d3bc152..83680b408 100644 --- a/src/wayland/meta-wayland-subsurface.c +++ b/src/wayland/meta-wayland-subsurface.c @@ -417,10 +417,6 @@ wl_subsurface_destructor (struct wl_resource *resource) surface->protocol_state.parent = NULL; } - else - { - g_node_unlink (surface->protocol_state.subsurface_branch_node); - } surface->wl_subsurface = NULL; }