xserver-multidpi/randr
Dave Airlie 80d1a548d6 rotation: fix cursor and overlap of one pixel.
Commit 77c7a64e88 was introduced to fix
a cursor off by one on Intel hw, however it also move the whole crtc
into an off by one position and you could see gnom-eshell overlapping.

This commit reverts that and instead fixes the cursor hotspot
translation to work like pixman does. We add 0.5 to the cursor vector
before translating, and floor the value afterwards.

Thanks to Soeren (ssp) for pointing out where the real problem was
after explaning how pixman translates points.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-22 11:38:30 -07:00
..
Makefile.am Export rrtransform.h as needed by randrstr.h 2008-11-24 13:24:41 -08:00
mirandr.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
randr.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
randrstr.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
rrcrtc.c Ignore RandR timestamps harder 2010-06-10 19:16:20 -07:00
rrdispatch.c Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
rrinfo.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
rrmode.c Add typed resource-lookup errors for non-core resource types. 2010-05-19 12:32:48 -07:00
rroutput.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
rrpointer.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
rrproperty.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
rrscreen.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
rrsdispatch.c randr: switch to byte counting functions 2009-07-14 10:14:01 +10:00
rrtransform.c rotation: fix cursor and overlap of one pixel. 2010-06-22 11:38:30 -07:00
rrtransform.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
rrxinerama.c Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -07:00