[Wayland-bugs] [Bug 78211] Zoom and touch does not work correctly together with output transform

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 6 15:37:59 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78211

Kristian Høgsberg <krh at bitplanet.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Kristian Høgsberg <krh at bitplanet.net> ---
commit 6c3b01f81e8e442b8c82efc702797aae629b33d2
Author: Neil Roberts <neil at 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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140506/b37647fb/attachment.html>


More information about the Wayland-bugs mailing list