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 new surface
-
create_region
–Create new region
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