add protocol file

This commit is contained in:
Squibid 2025-11-25 23:52:31 -05:00
parent bc7a76cdd0
commit ffec7db766
Signed by: squibid
GPG key ID: BECE5684D3C4005D
2 changed files with 91 additions and 0 deletions

View file

@ -26,7 +26,9 @@ pub fn build(b: *std.Build) void {
scanner.addSystemProtocol("stable/xdg-shell/xdg-shell.xml");
scanner.addSystemProtocol("stable/tablet/tablet-v2.xml");
scanner.addSystemProtocol("unstable/xdg-decoration/xdg-decoration-unstable-v1.xml");
scanner.addCustomProtocol(b.path("protocol/mez-remote-lua-unstable-v1.xml"));
scanner.generate("zmez_remote_lua_manager_v1", 1);
scanner.generate("wl_compositor", 6);
scanner.generate("wl_subcompositor", 1);
scanner.generate("wl_shm", 1);