aboutsummaryrefslogtreecommitdiffstats
path: root/src/gestures.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gestures.c')
-rw-r--r--src/gestures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gestures.c b/src/gestures.c
index db3fc83..735e77c 100644
--- a/src/gestures.c
+++ b/src/gestures.c
@@ -194,6 +194,7 @@ void extract_gestures(struct Gestures *gs, struct MTouch* mt)
*/
void extract_delayed_gestures(struct Gestures *gs, struct MTouch* mt)
{
+ memset(gs, 0, sizeof(struct Gestures));
mt->mem.wait = 0;
if (mt->mem.tpdown < mt->mem.tpup) {