void (*up)(pepper_touch_t *touch, void *data, uint32_t time, uint32_t id);
void (*motion)(pepper_touch_t *touch, void *data,
uint32_t time, uint32_t id, double x, double y);
+ void (*cancel_touch_point)(pepper_touch_t *touch, uint32_t id);
void (*frame)(pepper_touch_t *touch, void *data);
void (*cancel)(pepper_touch_t *touch, void *data);
};
{
pepper_touch_point_t *point = data;
touch_point_set_focus(point, NULL);
+
+ if (point->touch->grab)
+ point->touch->grab->cancel_touch_point(point->touch, point->id, point->touch->data);
}
static void