[PATCH] dix: offset touch root coordinates by ScreenRec origins (#86655)

Keith Packard keithp at keithp.com
Thu Dec 11 11:51:58 PST 2014


Peter Hutterer <peter.hutterer at who-t.net> writes:

> For two ScreenRecs abs pointer positioning was working fine, but touch events
> stuck to the lower/right edge on any screen but the one with a 0/0 origin.
> Cause is a missing offset by the screen coordinates, causing the root
> coordinates in the event to desktop-wide, not screen-wide.

GetKeyboardEvents, GetDixTouchEnd also call event_set_root_coordinates
without adjusting the device coordinates. Are those also wrong?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141211/151000e1/attachment.sig>


More information about the xorg-devel mailing list