xserver/hw
Dave Airlie 6892697640 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-11 12:52:41 +01:00
..
dmx dmx: Correctly compute DMXGetScreenAttributes reply length 2009-11-03 13:19:47 +10:00
kdrive kdrive: Bump evdev maxKeycode 2010-04-09 10:48:24 +10:00
vfb vfb: add a name and type to the pointer and keyboard 2010-04-16 08:12:37 +10:00
xfree86 rotation: fix cursor and overlap of one pixel. 2010-11-11 12:52:41 +01:00
xnest Xnest: set the default pointer accel to the host's values (#10013) 2009-09-09 10:47:08 +10:00
xquartz XQuartz: Don't use deltaXY for determining pointer location on scroll events 2010-05-17 22:53:04 -07:00
xwin Xming: Add mouse motion events with flag POINTER_SCREEN in winEnqueueMotion() 2009-11-19 16:33:52 +10:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00