Wayland_client.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.
type 'v t = ([ `Wl_compositor ], 'v, [ `Client ]) Proxy.t
val create_region :
[< `V1 | `V2 | `V3 | `V4 | `V5 | `V6 ] t ->
[[ `Wl_region ], [ `V1 ], [ `Client ]] Proxy.Handler.t ->
([ `Wl_region ], [ `V1 ], [ `Client ]) Proxy.t
Create new region.
Ask the compositor to create a new region.
val create_surface :
[< `V1 | `V2 | `V3 | `V4 | `V5 | `V6 ] as 'a t ->
[[ `Wl_surface ], 'b, [ `Client ]] Proxy.Handler.t ->
([ `Wl_surface ], 'c, [ `Client ]) Proxy.t
Create new surface.
Ask the compositor to create a new surface.
Note: Servers will always want to use v1
.
class +'a v1 : object ... end
Handler for a proxy with version >= 1.
class +'a v2 : object ... end
Handler for a proxy with version >= 2.
class +'a v3 : object ... end
Handler for a proxy with version >= 3.
class +'a v4 : object ... end
Handler for a proxy with version >= 4.
class +'a v5 : object ... end
Handler for a proxy with version >= 5.
class +'a v6 : object ... end
Handler for a proxy with version >= 6.