Re: [PATCH wayland-protocols v3] pointer-gestures: add a release request

2019-07-17 Thread Jonas Ådahl
On Mon, Jan 28, 2019 at 10:05:55AM +, Simon Ser wrote:
> This allows clients to destroy a gesture object before they disconnect.
> 
> The request isn't named "destroy", as this would conflict with
> wayland-scanner's auto-generated destructor (which just destroys the
> client-side object without sending any request).
> 
> Signed-off-by: Simon Ser 
> Reviewed-by: Jonas Ådahl 

Just saw this one never landed; but taken care of now!


Jonas

> ---
> 
> Changes from v2 to v3: added a version separator
> 
>  .../pointer-gestures-unstable-v1.xml  | 15 ---
>  1 file changed, 12 insertions(+), 3 deletions(-)
> 
> diff --git a/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml 
> b/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml
> index 5b7132c..59502ac 100644
> --- a/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml
> +++ b/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml
> @@ -1,7 +1,7 @@
>  
>  
>  
> -  
> +  
>  
>A global interface to provide semantic touchpad gestures for a given
>pointer.
> @@ -37,9 +37,18 @@
>
>
>  
> +
> +
> +
> +
> +  
> + Destroy the pointer gesture object. Swipe and pinch objects created via 
> this
> + gesture object remain valid.
> +  
> +
>
>  
> -  
> +  
>  
>A swipe gesture object notifies a client about a multi-finger swipe
>gesture detected on an indirect input device such as a touchpad.
> @@ -102,7 +111,7 @@
>  
>
>  
> -  
> +  
>  
>A pinch gesture object notifies a client about a multi-finger pinch
>gesture detected on an indirect input device such as a touchpad.
> -- 
> 2.20.1
> 
> 
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH wayland-protocols v3] pointer-gestures: add a release request

2019-01-28 Thread Simon Ser
This allows clients to destroy a gesture object before they disconnect.

The request isn't named "destroy", as this would conflict with
wayland-scanner's auto-generated destructor (which just destroys the
client-side object without sending any request).

Signed-off-by: Simon Ser 
Reviewed-by: Jonas Ådahl 
---

Changes from v2 to v3: added a version separator

 .../pointer-gestures-unstable-v1.xml  | 15 ---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml 
b/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml
index 5b7132c..59502ac 100644
--- a/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml
+++ b/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml
@@ -1,7 +1,7 @@
 
 
 
-  
+  
 
   A global interface to provide semantic touchpad gestures for a given
   pointer.
@@ -37,9 +37,18 @@
   
   
 
+
+
+
+
+  
+   Destroy the pointer gesture object. Swipe and pinch objects created via 
this
+   gesture object remain valid.
+  
+
   
 
-  
+  
 
   A swipe gesture object notifies a client about a multi-finger swipe
   gesture detected on an indirect input device such as a touchpad.
@@ -102,7 +111,7 @@
 
   
 
-  
+  
 
   A pinch gesture object notifies a client about a multi-finger pinch
   gesture detected on an indirect input device such as a touchpad.
-- 
2.20.1


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel