Function protocol_version

Source
pub fn protocol_version() -> u32
Expand description

May block for a Wayland roundtrip the first time it’s called.

§Returns

version of the zwlr_layer_shell_v1 protocol supported by the compositor or 0 if the protocol is not supported.