mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 14:38:07 +02:00
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:
parent
03dd560d45
commit
ab1a3c8164
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue