Function gtk_layer_shell::functions::protocol_version
source · [−]pub fn protocol_version() -> u32
Available on crate feature
v0_6
only.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.