vlc/vlc-2.2 | branch: master | Zoran Turalija <[email protected]> | Sun Mar 8 15:35:33 2015 +0000| [32e294df9b16ea335127310d6422c028cb966ff7] | committer: Jean-Baptiste Kempf
gestures: fix: allow gesture to be triggered Signed-off-by: Jean-Baptiste Kempf <[email protected]> (cherry picked from commit 5e6b6558c6e72b9c743d961fba0dae0707768392) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=32e294df9b16ea335127310d6422c028cb966ff7 --- modules/control/gestures.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/control/gestures.c b/modules/control/gestures.c index 2e50eec..3aa2ff2 100644 --- a/modules/control/gestures.c +++ b/modules/control/gestures.c @@ -419,6 +419,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++; + } } } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
