Product SiteDocumentation Site

A.4. 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.

A.4.1. Requests provided by wl_compositor

A.4.1.1. wl_compositor::create_surface - create new surface

Ask the compositor to create a new surface.
wl_compositor::create_surface arguments
id
Type: new_id

A.4.1.2. wl_compositor::create_region - create new region

Ask the compositor to create a new region.
wl_compositor::create_region arguments
id
Type: new_id