package wayland
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_wm_base/class-v2/index.html
Class Xdg_wm_base.v2
Source
Handler for a proxy with version >= 2.
constraint 'a = [< `V2 | `V3 ]
method private virtual on_ping : [> `V2 | `V3 ] t -> serial:int32 -> unit
Check if the client is alive.
The ping event asks the client if it's still alive. Pass the serial specified in the event back to the compositor by sending a "pong" request back with the specified serial. See xdg_wm_base.pong.
Compositors can use this to determine if the client is still alive. It's unspecified what will happen if the client doesn't respond to the ping request, or in what timeframe. Clients should try to respond in a reasonable amount of time.
A compositor is free to ping in any way it wants, but a client must always respond to any xdg_wm_base object it created.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>