From b9c6fcb8cab3a85c5583ef371055cb589b1e7b18 Mon Sep 17 00:00:00 2001 From: Hugo Machet Date: Sat, 23 Sep 2023 10:23:21 +0200 Subject: [PATCH] docs: Update to addCustomProtocol() in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 928835f..d10f127 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ pub fn build(b: *std.build.Builder) void { scanner.addSystemProtocol("stable/xdg-shell/xdg-shell.xml"); scanner.addSystemProtocol("staging/ext-session-lock/ext-session-lock-v1.xml"); - scanner.addProtocolPath("protocol/private_foobar.xml"); + scanner.addCustomProtocol("protocol/private_foobar.xml"); // Pass the maximum version implemented by your wayland server or client. // Requests, events, enums, etc. from newer versions will not be generated,