summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eventcomm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index 5707e38..741f988 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -150,6 +150,7 @@ InitializeTouch(InputInfoPtr pInfo)
}
proto_data->cur_slot = proto_data->mtdev->caps.slot.value;
+ proto_data->num_touches = 0;
proto_data->last_mt_vals = calloc(priv->num_slots,
sizeof(ValuatorMask *));