Struct wayland_client::core::subcompositor::SubCompositor
[−]
[src]
pub struct SubCompositor { // some fields omitted }
A wayland subcompositor.
This is the back-end used to create subsurfaces.
Like other global objects, this handle can be cloned.
Methods
impl SubCompositor
fn get_subsurface<S>(&self, surface: S, parent: &WSurface) -> SubSurface<S> where S: Surface
Maps surface
as a subsurface of parent
.
If parent
is destroyed, the subsurface will not be displayed any more.