docs: Update to addCustomProtocol() in README

This commit is contained in:
Hugo Machet
2023-09-23 10:23:21 +02:00
committed by Isaac Freund
parent 7f528883e0
commit b9c6fcb8ca

View File

@@ -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,