wayland/protocol
Vlad Zahorodnii 7fc2f21912 wayland: Add wl_output_list
The purpose of this interface is to fix wl_registry.bind races.

It is possible that a wl_output.bind request for a wl_output can arrive
after the compositor has already removed and destroyed the global. For
example, it seems to happen after sleep.

The wl_output_list provides a safer way to watch output announcements
and removals.

The wl_output globals are added and removed as before. But in addition
to that, the compositor will announce the wl_output_list global. The
wl_output_list global is not expected to be removed.

When the client binds the wl_output_list global, the compositor will
send all available outputs to it. When an output is removed, the
compositor will send the wl_output.removed event and the client is
expected to react to it by calling the wl_output.release request.

The interface effectively starts at version 5.

Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
2026-03-11 09:42:26 +02:00
..
.gitignore Update .gitignore for protocol/ 2013-11-19 13:26:04 -08:00
generate-shm-formats.py Add an automated script to update wl_shm.format 2019-09-06 12:09:22 +00:00
tests.xml Replace initial 8 spaces with a tab for all xml files 2020-04-29 12:21:33 +00:00
wayland.dtd Add support for the deprecated-since XML attribute 2024-04-24 16:18:28 +00:00
wayland.xml wayland: Add wl_output_list 2026-03-11 09:42:26 +02:00