Package org.freedesktop.wayland.server
Interface WlShellRequests
public interface WlShellRequests
create desktop-style surfaces
This interface is implemented by servers that provide desktop-style user interfaces.
It allows clients to associate a wl_shell_surface with a basic surface.
Note! This protocol is deprecated and not intended for production use. For desktop-style user interfaces, use xdg_shell. Compositors and clients should not implement this interface.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
getShellSurface
(WlShellResource requester, int id, WlSurfaceResource surface) create a shell surface from a surface
-
Field Details
-
VERSION
static final int VERSION- See Also:
-
-
Method Details
-
getShellSurface
create a shell surface from a surfaceCreate 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.
- Parameters:
requester
- The protocol object that made the request.id
- shell surface to createsurface
- surface to be given the shell surface role
-