xserver/hw/xfree86
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
..
common Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-09-08 12:19:33 -07:00
ddc edid: Adjust rounding of max_clock 2010-09-04 11:39:13 -07:00
dixmods Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
doc Add RandR 1.2 README.modes doc to EXTRA_DIST 2010-05-24 22:24:11 -07:00
dri Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dri2 Merge branch 'dri2-backports' into server-1.8-branch 2010-06-21 11:34:35 +10:00
exa Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
fbdevhw Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
i2c Don't cast double to int: use default conversions or explicitly round. 2009-10-28 18:56:42 -07:00
int10 Fix builds with --with-int10=stub 2009-12-15 10:23:16 -08:00
loader .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
modes rotation: fix cursor and overlap of one pixel. 2010-11-14 02:10:06 -08:00
os-support Solaris: Use VT_SET_CONSUSER ioctl to set Console User rights profile 2010-05-24 22:23:54 -07:00
parser xfree86: parser: Never use constant strings for driver names (fixes #17438) 2010-09-04 11:39:29 -07:00
ramdac Fix cursor ref counting mistakes with sprites and xf86Cursor.c 2010-05-18 14:41:46 +10:00
shadowfb Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-09-08 12:19:33 -07:00
utils Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
vbe Update to xextproto 7.0.99.1. 2009-07-15 17:00:05 +10:00
vgahw Revert "alpha: kill xf86SlowBCopyToBus and xf86SlowBCopyFromBus" 2009-10-06 20:40:20 -04:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-09 11:48:12 +10:00
xaa Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-09-08 12:19:33 -07:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00