This event contains a human-readable name of output. It may be sent after binding the output object. It is intended that the client can use this output name as a parameter or display it in logs.
For example, in weston randr application, output name can be a parameter in command line to stand for an output. Signed-off-by: Quanxian Wang <[email protected]> --- protocol/wayland.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index d47ee62..881ebad 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1618,7 +1618,7 @@ </event> </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 @@ -1756,6 +1756,16 @@ </description> <arg name="factor" type="int" summary="scaling factor of output"/> </event> + + <event name="name" since="3"> + <description summary="output name properties"> + This event contains a human-readable name of output. + It may be sent after binding the output object. + It is intended that the client can use this output name + as a parameter or display it in logs. + </description> + <arg name="name" type="string" summary="name of output"/> + </event> </interface> <interface name="wl_region" version="1"> -- 1.8.1.2 _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
