aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@nokia.com>2009-12-18 15:39:54 +0200
committerHenrik Rydberg <rydberg@alnilam.(none)>2009-12-18 15:48:32 +0100
commitccca3d1dffd79392d204815e5ce60aa5ded20973 (patch)
treee77700246fe24cc9eac534cc43752e757209e93a
parented48e39ea7f945e13b787ccc25937661de134b6a (diff)
downloadxorg-input-kobomultitouch-ccca3d1dffd79392d204815e5ce60aa5ded20973.tar.gz
xorg-input-kobomultitouch-ccca3d1dffd79392d204815e5ce60aa5ded20973.tar.bz2
xorg-input-kobomultitouch-ccca3d1dffd79392d204815e5ce60aa5ded20973.zip
fixed a bug in touching_finger
Signed-off-by: Mika Kuoppala <mika.kuoppala@nokia.com>
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
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;
}