Summary: | Zoom and touch does not work correctly together with output transform | ||
---|---|---|---|
Product: | Wayland | Reporter: | Anu Reddy <anasuyax.r.nannuri> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Anu Reddy
2014-05-02 23:29:21 UTC
I've posted a patch for this to the mailing list: http://lists.freedesktop.org/archives/wayland-devel/2014-May/014624.html commit 6c3b01f81e8e442b8c82efc702797aae629b33d2 Author: Neil Roberts <neil@linux.intel.com> Date: Tue May 6 19:04:15 2014 +0100 Apply the zoom transformation before the output transformation The zoom translation is just a scale and a translate. The translation is calculated based on the coordinates of the pointer which are in global space. Previously the calculated translation was transformed by the output transformation so that when the zoom transform is applied after the output transform then it will be correct. However if we just apply the zoom transformation first then we get the same result without the zoom code having to be aware of the output transformation. This also fixes weston_output_transform_coordinate which was applying the output and zoom transforms in the wrong order. https://bugs.freedesktop.org/show_bug.cgi?id=78211 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.