touch: store initial coordinate adjustments

this avoids touch offsets jumping when a touch point moves off of a surface
This commit is contained in:
bi4k8 2023-08-26 17:01:42 +00:00 committed by Consolatis
parent a3a5d9a21b
commit a49e12e112
3 changed files with 65 additions and 9 deletions

View file

@ -329,6 +329,7 @@ seat_init(struct server *server)
exit(EXIT_FAILURE);
}
wl_list_init(&seat->touch_points);
wl_list_init(&seat->constraint_commit.link);
wl_list_init(&seat->inputs);
seat->new_input.notify = new_input_notify;