Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 760 Bytes

File metadata and controls

22 lines (18 loc) · 760 Bytes

Simple Wayland Client

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.zig

The 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