[][src]Function wayland_raw_protocol_bindings::client::wayland::wl_subsurface::wl_subsurface_destroy

pub unsafe fn wl_subsurface_destroy(wl_subsurface: *mut wl_subsurface)

remove sub-surface interface

The sub-surface interface is removed from the wl_surface object that was turned into a sub-surface with a wl_subcompositor.get_subsurface request. The wl_surface's association to the parent is deleted, and the wl_surface loses its role as a sub-surface. The wl_surface is unmapped immediately.