mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
wayland: Fix up touch coordinates on HiDPI
This commit is contained in:
parent
8cc345fcf5
commit
91ac69382d
@ -208,8 +208,8 @@ touch_get_relative_coordinates (MetaWaylandTouch *touch,
|
||||
&event_x, &event_y);
|
||||
}
|
||||
|
||||
*x = event_x;
|
||||
*y = event_y;
|
||||
*x = event_x / surface->scale;
|
||||
*y = event_y / surface->scale;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user