[PATCH 1/3] protocol: Add an event to specify the name of an output

Neil Roberts neil at linux.intel.com
Wed Apr 30 04:24:40 PDT 2014


This bumps the version of the wl_output interface to 3 and adds a
separate event to report the output's name.
---
 protocol/wayland.xml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 330f8ab..60fa81e 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1645,7 +1645,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
@@ -1783,6 +1783,17 @@
       </description>
       <arg name="factor" type="int" summary="scaling factor of output"/>
     </event>
+
+    <!-- Version 3 additions -->
+
+    <event name="name" since="3">
+      <description summary="name of the output">
+        The name event contains a human-readable name for the output.
+        If the output has a name then this event is sent after binding
+        to the output object.
+      </description>
+      <arg name="name" type="string" summary="name of the output"/>
+    </event>
   </interface>
 
   <interface name="wl_region" version="1">
-- 
1.9.0



More information about the wayland-devel mailing list