diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-13 08:31:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-13 08:31:15 +1000 |
commit | 5ba30f7b42dde1b43086158c8b3ee826421c1f26 (patch) | |
tree | 56eef0d8db51115a4def27df9968945d6e08dcc2 /tools | |
parent | 50991bd0d06056658bb2404fbada08d532dd668a (diff) |
tools: add missing toffset copy from src to dest while duplicating
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libinput-measure-touchpad-tap.c | 1 |
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, |