package wayland

  1. Overview
  2. Docs
Pure OCaml Wayland protocol library

Install

Dune Dependency

Authors

Maintainers

Sources

wayland-v0.2.tbz
sha256=4eb323e42a8c64e9e49b15a588342bfcc1e99640305cb261d128c75612d9458c
sha512=1478b79022c5e12199b9c724e49a9832166cd4979da9c4bf38d9f06970dafb8c51a11324b772dc982f56e58307c8bc17962948987fb30fec1fdb104f6e63b15b

doc/wayland.protocols/Wayland_protocols/Xdg_shell_client/Xdg_surface/class-v1/index.html

Class Xdg_surface.v1Source

Handler for a proxy with version >= 1.

constraint 'a = [< `V1 | `V2 | `V3 ]
method private virtual on_configure : [> `V1 | `V2 | `V3 ] t -> serial:int32 -> unit

Suggest a surface change.

The configure event marks the end of a configure sequence. A configure sequence is a set of one or more events configuring the state of the xdg_surface, including the final xdg_surface.configure event.

Where applicable, xdg_surface surface roles will during a configure sequence extend this event as a latched state sent as events before the xdg_surface.configure event. Such events should be considered to make up a set of atomically applied configuration states, where the xdg_surface.configure commits the accumulated state.

Clients should arrange their surface for the new states, and then send an ack_configure request with the serial sent in this configure event at some point before committing the new surface.

If the client receives multiple configure events before it can respond to one, it is free to discard all but the last event it received.

method min_version : int32
OCaml

Innovation. Community. Security.