Skip to content

swaywm/zig-wlroots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.