Skip to content
Commit 048102f2 authored by Simon Ser's avatar Simon Ser Committed by Jonas Ådahl
Browse files

xdg-output: make xdg_output.description mutable

The output description is a human-readable text describing the output. Unlike
the name which uniquely identifies the output, it's intended to be displayed to
the user.

It might be desirable for a compositor to update an output's description. For
instance, when only one output is plugged in, it's not necessary to dump make,
model, serial and connector to the description, something like "Dell U2717D" is
enough. However when two identical outputs are plugged in it's necessary to add
e.g. the connector type to tell them apart ("Dell U2717D on HDMI"). See [1] for
a discussion about this.

This commit bumps xdg_output's version to allow compositors to update the
property.

[1]: https://github.com/swaywm/wlroots/issues/1623



Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarJonas Ådahl <jadahl@gmail.com>
Acked-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
parent e0d6ad1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment