libwaylandclient
libwayland-client is the client-side library for the Wayland display server protocol. It provides the C API that applications use to communicate with a Wayland compositor, manage objects, and handle events. The library exposes core Wayland objects such as wl_display, wl_registry, wl_surface, and input and output interfaces, allowing a client to connect to a compositor, discover globals, and create and manage surfaces and buffers.
A typical workflow starts with connecting to the display using wl_display_connect, followed by obtaining the registry
Rendering relies on buffers provided by wl_shm or other backends; the client attaches a buffer to the
libwayland-client works in tandem with protocol headers (often generated from XML) and protocol extensions such as