protocol | ||
src | ||
tinywl | ||
.gitignore | ||
.gitmodules | ||
build.zig | ||
LICENSE | ||
README.md |
zig-wlroots
Idiomatic Zig bindings for wlroots.
The main repository is on codeberg, which is where the issue tracker may be found and where contributions are accepted.
Read-only mirrors exist on sourcehut and github.
Completion status
Large parts of the wlroots API are fully bound, more than enough for the river Wayland compositor to use these bindings.
At this stage, I only personally add bindings for new parts of the wlroots API as required by river. If your project requires some part of the wlroots API not yet bound please open an issue or pull request on codeberg.
Dependencies
- zig 0.11
- wlroots 0.17
- zig-wayland
- zig-xkbcommon
- zig-pixman
Usage
See tinywl.zig for an example compositor using zig-wlroots and an example of how to integrate zig-wlroots and its dependencies into your build.zig.
See the C headers of wlroots for documentation.
License
zig-wlroots is released under the MIT (expat) license. The contents of the tinywl directory are not part of zig-wlroots and are released under the Zero Clause BSD license.