mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
touch: store initial coordinate adjustments
this avoids touch offsets jumping when a touch point moves off of a surface
This commit is contained in:
parent
a3a5d9a21b
commit
a49e12e112
3 changed files with 65 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue