[PATCH] Added destructor protocol to wl_data_device interface

kabeer.khan at samsung.com kabeer.khan at samsung.com
Tue Aug 19 05:10:20 PDT 2014


From: "kabeer.khan" <kabeer.khan at kabeer-khan.(none)>

This is a fix to Bug# 81745

Signed-off-by: kabeer <kabeer.khan at samsung.com>
---
 protocol/wayland.xml |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 2d57f69..c3a9f28 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -569,8 +569,13 @@
       <arg name="source" type="object" interface="wl_data_source" allow-null="true"/>
       <arg name="serial" type="uint" summary="serial of the event that triggered this request"/>
     </request>
-
-    <event name="data_offer">
+	<request name="destroy" type="destructor">
+      <description summary="destroy the data device">
+        Destroy the data device.
+      </description>
+    </request>
+	
+	<event name="data_offer">
       <description summary="introduce a new wl_data_offer">
 	The data_offer event introduces a new wl_data_offer object,
 	which will subsequently be used in either the
-- 
1.7.9.5



More information about the wayland-devel mailing list