[−][src]Trait wayland_server::protocol::wl_shell::RequestHandler
An interface for handling requests.
Provided methods
fn get_shell_surface(
&mut self,
object: WlShell,
id: NewResource<WlShellSurface>,
surface: WlSurface
)
&mut self,
object: WlShell,
id: NewResource<WlShellSurface>,
surface: WlSurface
)
create a shell surface from a surface
Create a shell surface for an existing surface. This gives the wl_surface the role of a shell surface. If the wl_surface already has another role, it raises a protocol error.
Only one shell surface can be associated with a given surface.