Commit 32e294df authored by Zoran Turalija's avatar Zoran Turalija Committed by Jean-Baptiste Kempf

gestures: fix: allow gesture to be triggered

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 5e6b6558c6e72b9c743d961fba0dae0707768392)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8e9020da
......@@ -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++;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment