Re: [PATCH weston v3 5/5] clients: Add pointer pinch gesture support to weston-image

2015-08-01 Thread Jonas Ådahl
On Fri, Jul 31, 2015 at 03:59:55PM +0200, Carlos Garnacho wrote: > It will allow zooming in/out the loaded image. > > Signed-off-by: Carlos Garnacho Reviewed-by: Jonas Ådahl > --- > clients/image.c | 35 +++ > 1 file changed, 35 insertions(+) > > diff --git a/

Re: [PATCH weston v3 3/5] clients: Request the wl_pointer_gesture_swipe/pinch interfaces

2015-08-01 Thread Jonas Ådahl
On Fri, Jul 31, 2015 at 03:59:53PM +0200, Carlos Garnacho wrote: > This is accompanied by separate handlers for the different stages > of swipe/pinch gestures, so those can be set in demos. > > v3: added null checks around pointer gesture interface destruction, > nullify afterwards. > v2: depe

Re: [PATCH weston v3 2/5] compositor: Implement wl_pointer_gesture_swipe/pinch interfaces

2015-08-01 Thread Jonas Ådahl
On Fri, Jul 31, 2015 at 03:59:52PM +0200, Carlos Garnacho wrote: > These are obtained from the _wl_pointer_gestures global resource, > although each pointer will maintain the resources list and additional > information for the pinch/swipe gestures. The lifetime and focus > management of gesture res

Re: [PATCH weston v3 1/5] protocol: Add _wl_pointer_gestures (swipe/pinch) protocol

2015-08-01 Thread Jonas Ådahl
On Fri, Jul 31, 2015 at 03:59:51PM +0200, Carlos Garnacho wrote: > The whole feature is exposed by the wl_pointer_gestures global > resource, which can be used to obtain individual swipe/pinch > gesture interfaces for a given wl_pointer. > > The lifetime and progress of gestures is maintained by t

Re: [PATCH weston v2 1/5] protocol: Add _wl_pointer_gestures (swipe/pinch) protocol

2015-08-01 Thread Jonas Ådahl
On Fri, Jul 31, 2015 at 03:53:43PM +0200, Carlos Garnacho wrote: > Hey Jonas :), > > On Wed, Jul 29, 2015 at 4:52 AM, Jonas Ådahl wrote: > > On Thu, Jul 23, 2015 at 07:00:27PM +0200, Carlos Garnacho wrote: > >> The whole feature is exposed by the wl_pointer_gestures global > >> resource, which ca

[PATCH] [RDP compositor] don't crash when the key file doesn't exist

2015-08-01 Thread David FORT
This allows to close the remaining issue in https://bugs.freedesktop.org/show_bug.cgi?id=91390 --- src/compositor-rdp.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index 4ef0dd1..c76af61 100644 --- a/src/compositor

Re: [PATCH weston] compositor-rdp: free() can handle NULL pointers

2015-08-01 Thread Hardening
Le 01/08/2015 16:02, Dawid Gajownik a écrit : > There's no need to check if a pointer exists before passing it to free(). > free() can handle NULL pointers. > > Signed-off-by: Dawid Gajownik Reviewed-By: David FORT > --- > src/compositor-rdp.c | 9 +++-- > 1 file changed, 3 insertions(+),

[PATCH weston] compositor-rdp: free() can handle NULL pointers

2015-08-01 Thread Dawid Gajownik
There's no need to check if a pointer exists before passing it to free(). free() can handle NULL pointers. Signed-off-by: Dawid Gajownik --- src/compositor-rdp.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index a83948b