vlc | branch: master | Zoran Turalija <[email protected]> | Sun Mar 8 15:35:33 2015 +0000| [5e6b6558c6e72b9c743d961fba0dae0707768392] | committer: Jean-Baptiste Kempf
gestures: fix: allow gesture to be triggered Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e6b6558c6e72b9c743d961fba0dae0707768392 --- 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++; + } } } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
