[vlc-devel] [PATCH] gestures: fix: allow gesture to be triggered

Jean-Baptiste Kempf jb at videolan.org
Sun Mar 8 23:55:19 CET 2015


Applied.

On 08 Mar, Zoran Turalija wrote :
> ---
>  modules/control/gestures.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/modules/control/gestures.c b/modules/control/gestures.c
> index 2b40fc4..a2fe30b 100644
> --- a/modules/control/gestures.c
> +++ b/modules/control/gestures.c
> @@ -417,6 +417,11 @@ static int MovedEvent( vlc_object_t *p_this, char const *psz_var,
>                  p_sys->i_pattern |= pattern << ( p_sys->i_num_gestures * 4 );
>                  p_sys->i_num_gestures++;
>              }
> +            else if( p_sys->i_num_gestures == 0 )
> +            {
> +                p_sys->i_pattern = pattern;
> +                p_sys->i_num_gestures++;
> +            }
>          }
>  
>      }
> -- 
> 2.1.4
> 
> 
> -- 
> Kind regards,
> Zoran Turalija
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list