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);
|
&event_x, &event_y);
|
||||||
}
|
}
|
||||||
|
|
||||||
*x = event_x;
|
*x = event_x / surface->scale;
|
||||||
*y = event_y;
|
*y = event_y / surface->scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user