Find a file
2024-03-11 21:15:44 +01:00
protocol Update for wlroots 0.15.0 2021-12-21 03:14:03 +00:00
src cursor-shape: fix DeviceType enum field names 2024-03-10 20:27:10 +01:00
tinywl Seat: take a slice in keyboard{Notify,}Enter() 2024-02-18 15:07:35 +00:00
.gitignore Initial backend and renderer bindings 2020-10-12 13:49:29 +02:00
.gitmodules gitmodules: fix codeberg url 2024-03-11 21:15:44 +01:00
build.zig Bind wlr_tablet_pad.h and wlr_tablet_v2.h 2024-02-27 11:32:05 +01:00
LICENSE Add MIT license 2020-10-12 21:49:47 +02:00
README.md docs: Fix github link in README 2024-02-18 09:16:49 +01:00

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.