break;
case GESTURE_EVENT_HOLD_TIMEOUT:
tp->gesture.state = GESTURE_STATE_HOLD;
- gesture_notify_hold(&tp->device->base, time,
- tp->gesture.finger_count);
+ gesture_notify_hold_begin(&tp->device->base, time,
+ tp->gesture.finger_count);
tp_gesture_start(tp, time);
break;
case GESTURE_EVENT_POINTER_MOTION_START:
if (first_mm < HOLD_AND_MOTION_THRESHOLD) {
tp->gesture.state = GESTURE_STATE_HOLD_AND_MOTION;
- gesture_notify_hold(&tp->device->base, time,
- tp->gesture.finger_count);
+ gesture_notify_hold_begin(&tp->device->base, time,
+ tp->gesture.finger_count);
tp_gesture_start(tp, time);
}
break;
bool cancelled);
void
-gesture_notify_hold(struct libinput_device *device,
- uint64_t time,
- int finger_count);
+gesture_notify_hold_begin(struct libinput_device *device,
+ uint64_t time,
+ int finger_count);
void
gesture_notify_hold_end(struct libinput_device *device,
}
void
-gesture_notify_hold(struct libinput_device *device,
- uint64_t time,
- int finger_count)
+gesture_notify_hold_begin(struct libinput_device *device,
+ uint64_t time,
+ int finger_count)
{
const struct normalized_coords zero = { 0.0, 0.0 };