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

@ -102,6 +102,8 @@ struct seat {
struct server *server;
struct wlr_keyboard_group *keyboard_group;
struct wl_list touch_points; /* struct touch_point.link */
/*
* Enum of most recent server-side cursor image. Set by
* cursor_set(). Cleared when a client surface is entered