package wayland
Pure OCaml Wayland protocol library
Install
Dune Dependency
Authors
Maintainers
Sources
wayland-1.0.tbz
sha256=bf8fd0057242d11f1c265c11cfa5de3c517ec0ad5994eae45e1efe3aac034510
sha512=da639e0903325e124933a03156ffd76188d2dfa2a9a61c5cee808fc8783833b81bb68ab59364ccc7c54a98bafa45d5b5a6c0571179f48178b5667b180a6d5a73
doc/src/wayland.protocols/server_decoration_proto.ml.html
Source file server_decoration_proto.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
(* This file was generated automatically by wayland-scanner-ocaml *) open struct module Proxy = Wayland.Proxy module Iface_reg = Wayland.Iface_reg module Metadata = Wayland.Metadata end module Org_kde_kwin_server_decoration_manager = struct type t = [`Org_kde_kwin_server_decoration_manager] type _ Metadata.ty += T : [`Org_kde_kwin_server_decoration_manager] Metadata.ty type versions = [`V1] let interface = "org_kde_kwin_server_decoration_manager" let version = 1l (** Possible values to use in request_mode and the event mode.. *) module Mode = struct type t = | None : t | Client : t | Server : t let to_int32 = function | None -> 0l | Client -> 1l | Server -> 2l let of_int32 = function | 0l -> None | 1l -> Client | 2l -> Server | x -> Fmt.failwith "Invalid mode enum value %ld" x end let requests = function | 0 -> "create", ["id", `New_ID (Some "org_kde_kwin_server_decoration"); "surface", `Object (Some "wl_surface")] | i -> Proxy.unknown_request i, [] let events = function | 0 -> "default_mode", ["mode", `Uint] | i -> Proxy.unknown_event i, [] end let () = Iface_reg.register (module Org_kde_kwin_server_decoration_manager) module Org_kde_kwin_server_decoration = struct type t = [`Org_kde_kwin_server_decoration] type _ Metadata.ty += T : [`Org_kde_kwin_server_decoration] Metadata.ty type versions = [`V1] let interface = "org_kde_kwin_server_decoration" let version = 1l (** Possible values to use in request_mode and the event mode.. *) module Mode = struct type t = | None : t | Client : t | Server : t let to_int32 = function | None -> 0l | Client -> 1l | Server -> 2l let of_int32 = function | 0l -> None | 1l -> Client | 2l -> Server | x -> Fmt.failwith "Invalid mode enum value %ld" x end let requests = function | 0 -> "release", [] | 1 -> "request_mode", ["mode", `Uint] | i -> Proxy.unknown_request i, [] let events = function | 0 -> "mode", ["mode", `Uint] | i -> Proxy.unknown_event i, [] end let () = Iface_reg.register (module Org_kde_kwin_server_decoration)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>