From 3afbe042afbdd48d73853b2087bb1d88a2afa753 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 13 Mar 2024 08:12:54 -0400 Subject: wayland: Stable protocols can have a version Fixes: #12968 --- docs/markdown/snippets/wayland_stable_prot_version.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/markdown/snippets/wayland_stable_prot_version.md (limited to 'docs') diff --git a/docs/markdown/snippets/wayland_stable_prot_version.md b/docs/markdown/snippets/wayland_stable_prot_version.md new file mode 100644 index 000000000..78d0a50d5 --- /dev/null +++ b/docs/markdown/snippets/wayland_stable_prot_version.md @@ -0,0 +1,13 @@ +## Wayland stable protocols can be versioned + +The wayland module now accepts a version number for stable protocols. + +```meson +wl_mod = import('unstable-wayland') + +wl_mod.find_protocol( + 'linux-dmabuf', + state: 'stable' + version: 1 +) +``` -- cgit v1.2.3