summaryrefslogtreecommitdiff
path: root/src/eventcomm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventcomm.c')
-rw-r--r--src/eventcomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index a9a344b..5db7e48 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -98,7 +98,7 @@ last_mt_vals_slot(const SynapticsPrivate * priv)
{
struct eventcomm_proto_data *proto_data =
(struct eventcomm_proto_data *) priv->proto_data;
- int value = proto_data->cur_slot - proto_data->mtdev->caps.slot.minimum;
+ int value = proto_data->cur_slot;
return value < priv->num_slots ? value : -1;
}