diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2024-03-13 08:12:54 -0400 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2024-03-15 09:24:46 -0400 |
| commit | 3afbe042afbdd48d73853b2087bb1d88a2afa753 (patch) | |
| tree | b0283e338e57d4a46e662b2e1eeea8e29b12217a /docs | |
| parent | 4d3fb88753c4a501adf04111cf8b3c1adfdd9b0c (diff) | |
| download | meson-3afbe042afbdd48d73853b2087bb1d88a2afa753.tar.gz | |
wayland: Stable protocols can have a version
Fixes: #12968
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/snippets/wayland_stable_prot_version.md | 13 |
1 files changed, 13 insertions, 0 deletions
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 +) +``` |
