diff options
-rw-r--r-- | src/eventcomm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index 5db7e48..27283ca 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -808,8 +808,7 @@ event_query_touch(InputInfoPtr pInfo) }; if (mtdev->caps.slot.maximum > 0) - priv->max_touches = mtdev->caps.slot.maximum - - mtdev->caps.slot.minimum + 1; + priv->max_touches = mtdev->caps.slot.maximum + 1; priv->touch_axes = malloc(priv->num_mt_axes * sizeof(SynapticsTouchAxisRec)); |