summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/libinput-measure-touchpad-tap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libinput-measure-touchpad-tap.c b/tools/libinput-measure-touchpad-tap.c
index 123630c..85cfc1c 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,