1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980(* This file was generated automatically by wayland-scanner-ocaml *)openstructmoduleProxy=Wayland.ProxymoduleIface_reg=Wayland.Iface_regmoduleMetadata=Wayland.MetadataendmoduleZwlr_screencopy_manager_v1=structtypet=[`Zwlr_screencopy_manager_v1]type_Metadata.ty+=T:[`Zwlr_screencopy_manager_v1]Metadata.tytypeversions=[`V1|`V2|`V3]letinterface="zwlr_screencopy_manager_v1"letversion=3lletrequests=function|0->"capture_output",["frame",`New_ID(Some"zwlr_screencopy_frame_v1");"overlay_cursor",`Int;"output",`Object(Some"wl_output")]|1->"capture_output_region",["frame",`New_ID(Some"zwlr_screencopy_frame_v1");"overlay_cursor",`Int;"output",`Object(Some"wl_output");"x",`Int;"y",`Int;"width",`Int;"height",`Int]|2->"destroy",[]|i->Proxy.unknown_requesti,[]letevents=function|i->Proxy.unknown_eventi,[]endlet()=Iface_reg.register(moduleZwlr_screencopy_manager_v1)moduleZwlr_screencopy_frame_v1=structtypet=[`Zwlr_screencopy_frame_v1]type_Metadata.ty+=T:[`Zwlr_screencopy_frame_v1]Metadata.tytypeversions=[`V1|`V2|`V3]letinterface="zwlr_screencopy_frame_v1"letversion=3lmoduleError=structtypet=|Already_used:t|Invalid_buffer:tletto_int32=function|Already_used->0l|Invalid_buffer->1lletof_int32=function|0l->Already_used|1l->Invalid_buffer|x->Fmt.failwith"Invalid error enum value %ld"xendmoduleFlags=structtypet=int32lety_invert=1lletto_int32=Fun.idletof_int32=Fun.idendletrequests=function|0->"copy",["buffer",`Object(Some"wl_buffer")]|1->"destroy",[]|2->"copy_with_damage",["buffer",`Object(Some"wl_buffer")]|i->Proxy.unknown_requesti,[]letevents=function|0->"buffer",["format",`Uint;"width",`Uint;"height",`Uint;"stride",`Uint]|1->"flags",["flags",`Uint]|2->"ready",["tv_sec_hi",`Uint;"tv_sec_lo",`Uint;"tv_nsec",`Uint]|3->"failed",[]|4->"damage",["x",`Uint;"y",`Uint;"width",`Uint;"height",`Uint]|5->"linux_dmabuf",["format",`Uint;"width",`Uint;"height",`Uint]|6->"buffer_done",[]|i->Proxy.unknown_eventi,[]endlet()=Iface_reg.register(moduleZwlr_screencopy_frame_v1)