diff options
Diffstat (limited to 'src/gestures.c')
| -rw-r--r-- | src/gestures.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gestures.c b/src/gestures.c index f44e6ab..a0ef5d4 100644 --- a/src/gestures.c +++ b/src/gestures.c | |||
| @@ -31,8 +31,6 @@ | |||
| 31 | static const int FINGER_ATTACK_MS = 70; | 31 | static const int FINGER_ATTACK_MS = 70; |
| 32 | static const int FINGER_DECAY_MS = 120; | 32 | static const int FINGER_DECAY_MS = 120; |
| 33 | 33 | ||
| 34 | static inline int maxval(int x, int y) { return x > y ? x : y; } | ||
| 35 | |||
| 36 | inline int dxval(const struct FingerState *a, const struct FingerState *b) | 34 | inline int dxval(const struct FingerState *a, const struct FingerState *b) |
| 37 | { | 35 | { |
| 38 | return a->hw.position_x - b->hw.position_x; | 36 | return a->hw.position_x - b->hw.position_x; |
