package wayland

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Constraint lifetime.

These values represent different lifetime semantics. They are passed as arguments to the factory requests to specify how the constraint lifetimes should be managed.

type t =
  1. | Oneshot : t
    (*

    The pointer constraint is defunct once deactivated.

    A oneshot pointer constraint will never reactivate once it has been deactivated. See the corresponding deactivation event (wp_locked_pointer.unlocked and wp_confined_pointer.unconfined) for details.

    *)
  2. | Persistent : t
    (*

    The pointer constraint may reactivate.

    A persistent pointer constraint may again reactivate once it has been deactivated. See the corresponding deactivation event (wp_locked_pointer.unlocked and wp_confined_pointer.unconfined) for details.

    *)
val to_int32 : t -> int32
val of_int32 : int32 -> t
OCaml

Innovation. Community. Security.