xserver-multidpi/hw/xfree86
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
..
common Don't coredump on "X -showopts" (bug 25874) 2010-06-18 14:36:54 -07:00
ddc Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
dixmods Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
doc xfree86: Match devices based on current driver setting 2010-06-11 09:44:40 +10:00
dri Make DRI_SCREEN_PRIV just return NULL when DRI isn't initialized 2010-06-07 21:49:43 -07:00
dri2 DRI2/xserver: Don't hang in glXSwapBuffers if drawable moves between crtc's (bug 28383) 2010-06-17 23:54:27 -07:00
exa Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
fbdevhw Install fbdevhw module in normal module directory instead of linux/ 2010-06-03 07:29:50 -07:00
i2c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
int10 Record some additional library dependencies in xf86 modules 2010-06-10 19:01:22 -07:00
loader mi: Remove unused overlay support 2010-06-20 05:36:22 +07:00
modes rotation: fix cursor and overlap of one pixel. 2010-06-22 11:38:30 -07:00
os-support Remove more superfluous if(p) checks around free(p) 2010-06-11 19:05:46 +07:00
parser Merge remote branch 'whot/for-keith' 2010-06-10 18:39:10 -07:00
ramdac Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shadowfb Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
utils Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vbe Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vgahw Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-07 16:18:24 -07:00
xaa mi: Remove unused overlay support 2010-06-20 05:36:22 +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