From 57702509dc66fe66221a9687b854689f85c279cc Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 3 Jul 2015 10:34:17 +1000 Subject: [PATCH] touchpad: correct a comment Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c index 9c1c096c..f0857747 100644 --- a/src/evdev-mt-touchpad-buttons.c +++ b/src/evdev-mt-touchpad-buttons.c @@ -832,12 +832,10 @@ tp_check_clickfinger_distance(struct tp_dispatch *tp, x = abs(t1->point.x - t2->point.x); y = abs(t1->point.y - t2->point.y); - /* no resolution, so let's assume they're close enough together */ + /* no resolution, so let's assume they're close enough together if + they're within 30% of the touchpad width or height */ if (tp->device->abs.fake_resolution) { int w, h; - - /* Use a maximum of 30% of the touchpad width or height if - * we dont' have resolution. */ w = tp->device->abs.dimensions.x; h = tp->device->abs.dimensions.y;