Package org.freedesktop.wayland.server
Interface WlCompositorRequestsV5
- All Superinterfaces:
WlCompositorRequests,WlCompositorRequestsV2,WlCompositorRequestsV3,WlCompositorRequestsV4
- All Known Subinterfaces:
WlCompositorRequestsV6
the compositor singleton
A compositor. This object is a singleton global. The compositor is in charge of combining the contents of multiple surfaces into one displayable output.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateRegion(WlCompositorResource requester, int id) create new regionvoidcreateSurface(WlCompositorResource requester, int id) create new surface
-
Field Details
-
VERSION
static final int VERSION- See Also:
-
-
Method Details
-
createSurface
create new surfaceAsk the compositor to create a new surface.
- Specified by:
createSurfacein interfaceWlCompositorRequests- Specified by:
createSurfacein interfaceWlCompositorRequestsV2- Specified by:
createSurfacein interfaceWlCompositorRequestsV3- Specified by:
createSurfacein interfaceWlCompositorRequestsV4- Parameters:
requester- The protocol object that made the request.id- the new surface
-
createRegion
create new regionAsk the compositor to create a new region.
- Specified by:
createRegionin interfaceWlCompositorRequests- Specified by:
createRegionin interfaceWlCompositorRequestsV2- Specified by:
createRegionin interfaceWlCompositorRequestsV3- Specified by:
createRegionin interfaceWlCompositorRequestsV4- Parameters:
requester- The protocol object that made the request.id- the new region
-