diff options
Diffstat (limited to 'docs/markdown')
| -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 +) +``` |
