Skip to content

wl_compositor¤

wayland.wl_compositor ¤

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.

Methods:

create_surface ¤

create_surface() -> wl_surface

Create new surface

Ask the compositor to create a new surface.

Returns:

  • wl_surface ( wl_surface ) –

    The created object

create_region ¤

create_region() -> wl_region

Create new region

Ask the compositor to create a new region.

Returns:

  • wl_region ( wl_region ) –

    The created object