wayland: Fix up touch coordinates on HiDPI

This commit is contained in:
Jasper St. Pierre 2015-12-14 14:52:23 -08:00
parent 8cc345fcf5
commit 91ac69382d

View File

@ -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;
} }