diff options
Diffstat (limited to 'src/gestures.c')
| -rw-r--r-- | src/gestures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gestures.c b/src/gestures.c index 2dafe79..0cc2e0b 100644 --- a/src/gestures.c +++ b/src/gestures.c | |||
| @@ -38,7 +38,7 @@ static const int BUTTON_HOLD_MS = 200; | |||
| 38 | */ | 38 | */ |
| 39 | static void extract_buttons(struct Gestures *gs, struct MTouch* mt) | 39 | static void extract_buttons(struct Gestures *gs, struct MTouch* mt) |
| 40 | { | 40 | { |
| 41 | unsigned btdata = mt->state.button & BITONES(DIM_BUTTON); | 41 | bitmask_t btdata = mt->state.button & BITONES(DIM_BUTTON); |
| 42 | int npoint = bitcount(mt->mem.pointing); | 42 | int npoint = bitcount(mt->mem.pointing); |
| 43 | if (mt->state.button == BITMASK(MT_BUTTON_LEFT)) { | 43 | if (mt->state.button == BITMASK(MT_BUTTON_LEFT)) { |
| 44 | if (npoint == 2) | 44 | if (npoint == 2) |
