Protocol : Added destructor to wl_data_device interface
authorkabeer khan <kabeer.khan@samsung.com>
Mon, 13 Oct 2014 05:04:26 +0000 (10:34 +0530)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 4 Nov 2014 13:04:29 +0000 (15:04 +0200)
[Pekka Paalanen: removed trailing whitespace, adjust bz link.]

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=81745
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
protocol/wayland.xml

index 762482e..f70c026 100644 (file)
 
   </interface>
 
-  <interface name="wl_data_device" version="1">
+  <interface name="wl_data_device" version="2">
     <description summary="data transfer device">
       There is one wl_data_device per seat which can be obtained
       from the global wl_data_device_manager singleton.
       </description>
       <arg name="id" type="object" interface="wl_data_offer" allow-null="true"/>
     </event>
+
+    <!-- Version 2 additions -->
+
+    <request name="release" type="destructor" since="2">
+      <description summary="destroy data device">
+       This request destroys the data device.
+      </description>
+    </request>
   </interface>
 
-  <interface name="wl_data_device_manager" version="1">
+  <interface name="wl_data_device_manager" version="2">
     <description summary="data transfer interface">
       The wl_data_device_manager is a singleton global object that
       provides access to inter-client data transfer mechanisms such as