[PATCH] dix: fix scale_to_desktop for edge ABS events

Keith Packard keithp at keithp.com
Sun Sep 23 16:10:24 PDT 2012

Yufeng Shen <miletus at chromium.org> writes:

> To fix this, we change the device to screen coordinates mapping to
> [dev_X_min, dev_X_max]  -> [screen_X_min, screen_X_max-1]
> [dev_Y_min, dev_Y_max]  -> [screen_Y_min, screen_Y_max-1]

This patch appears to include an additional change in passing
screenInfo.x + screenInfo.width and screenInfo.y + screenInfo.height
instead of just screenInfo.width and screenInfo.height.

If this is essential to the fix noted above, please make sure the change
is described in the commit log. If it is a separate fix, please create a
separate patch for it.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120923/2b5d5dbd/attachment.pgp>

More information about the xorg-devel mailing list