diff --git a/tools/libinput-measure-touchpad-tap.c b/tools/libinput-measure-touchpad-tap.c index 123630c7..85cfc1ca 100644 --- a/tools/libinput-measure-touchpad-tap.c +++ b/tools/libinput-measure-touchpad-tap.c @@ -119,6 +119,7 @@ tap_data_duplicate_sorted(const struct tap_data *src, assert(src->count > 0); dest->count = src->count; + dest->toffset = src->toffset; dest->touches_sz = dest->count; dest->touches = zalloc(dest->count * sizeof(*dest->touches)); memcpy(dest->touches,