From ccca3d1dffd79392d204815e5ce60aa5ded20973 Mon Sep 17 00:00:00 2001 From: Mika Kuoppala Date: Fri, 18 Dec 2009 15:39:54 +0200 Subject: fixed a bug in touching_finger Signed-off-by: Mika Kuoppala --- src/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state.c b/src/state.c index 9bac532..834aeca 100644 --- a/src/state.c +++ b/src/state.c @@ -46,7 +46,7 @@ static bool touching_finger(const struct FingerData* hw, return hw->width_major > 0 && hw->touch_major > FTW * hw->width_major; if (caps->has_touch_major) - hw->touch_major > FTS * caps->abs_touch_major.maximum; + return hw->touch_major > FTS * caps->abs_touch_major.maximum; return 1; } -- cgit v1.2.3