There are TWO Wayland client programs in this repo. The single-file version is
a direct implementation of my related
blog post, and lives in
src/simple-client.zig. This version can be run with either:
$ zig build simple-client
# OR:
$ zig run src/simple-client.zigThe other implementation utilizes a stripped-down version of
my personal Zig base layer and my own wayland code generation tool, and presents
a more object-oriented interface which is more in-line with what one might
expect, given the object-oriented design of the Wayland protocol. This second
implementation runs from src/client.zig. This version can be run with:
$ zig build client