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

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to