We're hiring!
*

Wayland 1.25 Documentation Update

Pekka Paalanen avatar

Pekka Paalanen
April 09, 2026

Share this post:

Reading time:

Wayland 1.25 was recently released. The repository holds the fundamental interface definitions (wayland.xml) for the protocol, the inter-process communication library (libwayland), and some documentation that we used to call "the Wayland DocBook", for lack of a better name. I want to highlight the documentation changes in this release because the documentation had not been touched much in years.

Three new chapters were written for the documentation:

  • Message Definition Language finally provides an official specification of the Wayland XML dialect; what XML tags and attributes exist and what they mean. This should help protocol authors and especially developers of code generation tools. Previously one had to infer things from wayland-scanner source code and the DTD. Adding new XML features is also easier, given that there is a specification to edit. I authored this chapter.

  • Content Updates completely re-writes how we think about updates to wl_surface state and image contents. Also wayland.xml was updated to follow the new terminology. The earlier descriptions about how sub-surface updates work (written by me more than a decade ago) were inadequate so much that they were outright incorrect for nested sub-surfaces. Now we have a solid theory on how things should work with sub-surfaces. More work will be needed to cater for commit-timing and fifo protocols though. Sebastian Wick authored this chapter.

  • Color Management chapter is a 10 km altitude overview of how we designed color management to work on Wayland. More details can be found in the color-and-hdr repository, particularly the design goals, comparison with X11, and the proposed compositor color management model. I wrote this chapter.

That bundle of documentation, published at wayland.freedesktop.org, was written in DocBook XML. I would presume that this format in itself was already a high barrier to contributing to the documentation. Julian Orth proposed to convert the documentation into mdBook instead, which you might recognize from the Rust documentation. The temporary conversion tool can be found in the git history. Now the Wayland documentation has a modern look, and being in Markdown makes it easy to edit.

Some DocBook still remains. These are the parts that the documentation build generates from wayland.xml and Doxygen XML output with custom XSLT scripts. I hope we have the opportunity to convert these as well into a better form.

 

Search the newsroom

Latest News & Events

Wayland 1.25 Documentation Update

09/04/2026

Wayland 1.25 refreshes its documentation with three new chapters covering Wayland XML specification, content model updates, and color management…

16 contributors, cross-stack improvements: Collabora's work on GStreamer 1.28

08/04/2026

Our multimedia engineering team delivered major improvements to GStreamer 1.28: hardware acceleration and zero-copy pipelines, HDR and color…

Springing into AI: PyTorch Conference Europe & ICLR 2026

02/04/2026

Collabora presents "Bringing BitNet to ExecuTorch via Vulkan" at PyTorch Conference Europe in Paris (April 7-8) and attends ICLR in Rio…

Open Since 2005 logo

Our website only uses a strictly necessary session cookie provided by our CMS system. To find out more please follow this link.

Collabora Limited © 2005-2026. All rights reserved. Privacy Notice. Sitemap.