In a multi-seat configuration, clients may need to filter out the outputs based on the (udev) seat it is hooked to or based on the name of the output. Since version of the output is increased, the change does not affect the current implementation and is optional whoever wants to use the properties of the output (e.g. its very similar that input which has the name property attached to it).
Signed-off-by: Imran Zaman <imran.za...@gmail.com> --- protocol/wayland.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 762482e..7580cdf 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1741,7 +1741,7 @@ </request> </interface> - <interface name="wl_output" version="2"> + <interface name="wl_output" version="3"> <description summary="compositor output region"> An output describes part of the compositor geometry. The compositor works in the 'compositor coordinate system' and an @@ -1879,6 +1879,26 @@ </description> <arg name="factor" type="int" summary="scaling factor of output"/> </event> + + <!-- Version 3 of additions --> + + <event name="name" since="3"> + <description summary="name of the output"> + In a multiseat configuration this can be used by the client to help + identify the name of the output and consequently the name can be used to + select the output(s) based on the configuration. + </description> + <arg name="name" type="string"/> + </event> + + <event name="seatname" since="3"> + <description summary="name of the seat the output is constrained to"> + In a multiseat configuration this can be used by the client to help + identify the seat which the given output is constrained to and consequently + select the output(s) based on the client own seat. + </description> + <arg name="name" type="string"/> + </event> </interface> <interface name="wl_region" version="1"> -- 1.9.1 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel