mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 09:20:29 +01:00
tools: add missing toffset copy from src to dest while duplicating
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
50991bd0d0
commit
5ba30f7b42
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue