summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-01-18 18:18:18 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-01-18 18:18:18 +0200
commit4ba9430ee97dbce8f77db8de6ce9b753a75e453d (patch)
treecb06f7f384a6d44449f2f1d350421fe58bb1cf1f
parent12c00111b68c9cf4872a424258c6f8b7247aac47 (diff)
mach64: workaround for corruption at upper-left
commit possible workaround, it's reported multiple times ...
-rw-r--r--src/aticonsole.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/aticonsole.c b/src/aticonsole.c
index f8f2032..8efe897 100644
--- a/src/aticonsole.c
+++ b/src/aticonsole.c
@@ -649,6 +649,12 @@ ATISwitchMode
#endif /* XF86DRI_DEVEL */
+ /* XXX Workaround for X server not hiding the cursor for Xcursor (but
+ * only for core cursor), leaving a 64x64 garbage upper-left.
+ */
+ if (pATI->pCursorInfo)
+ (*pATI->pCursorInfo->HideCursor)(pScreenInfo);
+
ATIModeSet(pScreenInfo, pATI, &pATI->NewHW);
#ifdef XF86DRI_DEVEL