diff options
| author | Mika Kuoppala <mika.kuoppala@nokia.com> | 2009-12-18 15:39:54 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@alnilam.(none)> | 2009-12-18 15:48:32 +0100 |
| commit | ccca3d1dffd79392d204815e5ce60aa5ded20973 (patch) | |
| tree | e77700246fe24cc9eac534cc43752e757209e93a /src/state.c | |
| parent | ed48e39ea7f945e13b787ccc25937661de134b6a (diff) | |
fixed a bug in touching_finger
Signed-off-by: Mika Kuoppala <mika.kuoppala@nokia.com>
Diffstat (limited to 'src/state.c')
| -rw-r--r-- | src/state.c | 2 |
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, | |||
| 46 | return hw->width_major > 0 && | 46 | return hw->width_major > 0 && |
| 47 | hw->touch_major > FTW * hw->width_major; | 47 | hw->touch_major > FTW * hw->width_major; |
| 48 | if (caps->has_touch_major) | 48 | if (caps->has_touch_major) |
| 49 | hw->touch_major > FTS * caps->abs_touch_major.maximum; | 49 | return hw->touch_major > FTS * caps->abs_touch_major.maximum; |
| 50 | return 1; | 50 | return 1; |
| 51 | } | 51 | } |
| 52 | 52 | ||
