From 25f838fd3328273733976b16775142a58e3db275 Mon Sep 17 00:00:00 2001 From: Mark Bolhuis Date: Mon, 5 Sep 2022 22:14:40 +0100 Subject: modules/wayland: Support --include-core-only wayland-scanner can generate header files that only include wayland-client-core.h using a flag. Add a core_only option to scan_xml to support this use case. --- docs/markdown/snippets/wayland_scan_xml_core_only_arg.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/markdown/snippets/wayland_scan_xml_core_only_arg.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/wayland_scan_xml_core_only_arg.md b/docs/markdown/snippets/wayland_scan_xml_core_only_arg.md new file mode 100644 index 0000000..59f4e1b --- /dev/null +++ b/docs/markdown/snippets/wayland_scan_xml_core_only_arg.md @@ -0,0 +1,5 @@ +## Added core_only arg to wayland.scan_xml. + +The `scan_xml` function from the wayland module now has an optional bool +argument `core_only`, so that headers generated by wayland-scanner now +only include `wayland-client-core.h` instead of `wayland-client.h`. -- cgit v1.1