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,