output-management: refer to wl_output instead of xdg-output

wl_output now has name and description events, so let's use that
instead of xdg-output.

Let's also not assume the compositor will expose all enabled outputs
as wl_outputs.
This commit is contained in:
Simon Ser 2025-06-05 17:32:03 +02:00 committed by Isaac Freund
parent 0d74fc2dc5
commit a5028afbe4

View file

@ -156,8 +156,8 @@
not assume that the name is a reflection of an underlying DRM
connector, X11 connection, etc.
If the compositor implements the xdg-output protocol and this head is
enabled, the xdg_output.name event must report the same name.
If this head matches a wl_output, the wl_output.name event must report
the same name.
The name event is sent after a wlr_output_head object is created. This
event is only sent once per object, and the name does not change over
@ -176,8 +176,8 @@
the make, model, serial of the underlying DRM connector or the display
name of the underlying X11 connection, etc.
If the compositor implements xdg-output and this head is enabled,
the xdg_output.description must report the same description.
If this head matches a wl_output, the wl_output.description event must
report the same name.
The description event is sent after a wlr_output_head object is created.
This event is only sent once per object, and the description does not