protocol: Add wl_output.removed

This provides a more convenient way to get notified that the output is
no longer available.

Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
This commit is contained in:
Vlad Zahorodnii 2026-03-12 17:33:30 +02:00
parent bec2bcddd8
commit 9580e3ca05

View file

@ -2858,7 +2858,7 @@
</event>
</interface>
<interface name="wl_output" version="4">
<interface name="wl_output" version="5">
<description summary="compositor output region">
An output describes part of the compositor geometry. The
compositor works in the 'compositor coordinate system' and an
@ -3098,6 +3098,15 @@
</description>
<arg name="description" type="string" summary="output description"/>
</event>
<!-- Version 5 additions -->
<event name="removed" since="5">
<description summary="output is removed">
This event is sent when the output is no longer available. After this
event, no new output updates will be sent. The client should call the
wl_output.release request after receiving this event.
</description>
</event>
</interface>
<interface name="wl_region" version="7">