Cargo Features

gtk-layer-shell has no features set by default.

[dependencies]
gtk-layer-shell = { version = "0.8.1", features = ["v0_4", "v0_5", "v0_6"] }
v0_4 v0_5?

Enables v0_4 of gtk-layer-shell-sys

Affects functions::major_version, functions::micro_version, functions::minor_version

v0_5 v0_6? = v0_4

Enables v0_5 of gtk-layer-shell-sys

Affects functions::auto_exclusive_zone_is_enabled, functions::is_anchor, functions::exclusive_zone, functions::is_keyboard_interactivity, functions::layer, functions::margin, functions::monitor, functions::namespace, functions::is_layer_window, functions::is_supported, gtk-layer-shell::LayerShell.auto_exclusive_zone_is_enabled, gtk-layer-shell::LayerShell.is_anchor, gtk-layer-shell::LayerShell.exclusive_zone, gtk-layer-shell::LayerShell.layer, gtk-layer-shell::LayerShell.layer_shell_margin, gtk-layer-shell::LayerShell.is_keyboard_interactivity, gtk-layer-shell::LayerShell.monitor, gtk-layer-shell::LayerShell.namespace, gtk-layer-shell::LayerShell.is_layer_window

v0_6 = v0_5

Enables v0_6 of gtk-layer-shell-sys

Affects functions::keyboard_mode, functions::protocol_version, functions::set_keyboard_mode, gtk-layer-shell::LayerShell.keyboard_mode, gtk-layer-shell::LayerShell.set_keyboard_mode