libweston/input: update view transforms when handling touch_down

Another leftover from d611ab24 "libweston: Update view transforms more
often".

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2022-12-22 13:47:22 +02:00 committed by Daniel Stone
parent 03dd560d45
commit ab1a3c8164
1 changed files with 2 additions and 0 deletions

View File

@ -835,6 +835,8 @@ weston_touch_send_down(struct weston_touch *touch, const struct timespec *time,
if (!weston_touch_has_focus_resource(touch))
return;
weston_view_update_transform(touch->focus);
weston_view_from_global_fixed(touch->focus, x, y, &sx, &sy);
resource_list = &touch->focus_resource_list;