[v5,1/3] Protocol : Added destructor to wl_data_device interface

Submitted by kabeer.khan@samsung.com on Oct. 13, 2014, 5:04 a.m.

Details

Message ID 1413176666-10349-1-git-send-email-kabeer.khan@samsung.com
State Accepted
Headers show

Not browsing as part of any series.

Commit Message

kabeer.khan@samsung.com Oct. 13, 2014, 5:04 a.m.
Fix for Bug# 81745

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

Patch hide | download patch | download mbox

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 3645208..a129de2 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -517,7 +517,7 @@ 
 
   </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.
@@ -641,9 +641,17 @@ 
       </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

Comments

On Mon, 13 Oct 2014 10:34:26 +0530
kabeer khan <kabeer.khan@samsung.com> wrote:

> Fix for Bug# 81745
> 
> Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
> ---
>  protocol/wayland.xml | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml
> index 3645208..a129de2 100644
> --- a/protocol/wayland.xml
> +++ b/protocol/wayland.xml
> @@ -517,7 +517,7 @@
>  
>    </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.
> @@ -641,9 +641,17 @@
>        </description>
>        <arg name="id" type="object" interface="wl_data_offer" allow-null="true"/>
>      </event>
> +    
> +    <!-- Version 2 additions -->
> +    

There are two lines above that introduce trailing whitespace. I removed
those when applying the patch.

> +    <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

Pushed.


Thanks,
pq