xserver/randr
Dave Airlie a1095c1372 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>
(cherry picked from commit 80d1a548d6)
2010-11-14 02:10:06 -08: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 Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
randrstr.h randr: Fill in errorValue when verifying outputs/crtcs/modes 2009-11-09 08:35:05 -08:00
rrcrtc.c Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
rrdispatch.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
rrinfo.c randr: Avoid re-querying the configuration on everything but GetScreenResources. 2009-01-30 19:35:55 -08:00
rrmode.c Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
rroutput.c Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
rrpointer.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
rrproperty.c Don't double-swap the RandR PropertyNotify event 2010-02-12 14:55:19 -08:00
rrscreen.c xace: fix access mode in dixLookupWindow within several RandR calls. 2009-08-17 14:51:11 -04: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-11-14 02:10:06 -08:00
rrtransform.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
rrxinerama.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00