summaryrefslogtreecommitdiff
path: root/src/gx_cursor.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-07-21 12:36:51 +0200
committerMart Raudsepp <leio@gentoo.org>2012-07-26 07:38:56 +0300
commita83fcb6f84995dc50b8adffc27e264a663fbd606 (patch)
tree9e12ca73eb670f18f703a08b5061b951b0789f7a /src/gx_cursor.c
parent68646c3119a69a8391a49f2d565672d73829e2c9 (diff)
Initial stab at converting geode to new X1.13 API
Preparing to compile geode on X 1.13 All compiler errors are gone as far as I can tell, but I lack the hardware to verify it works as well.
Diffstat (limited to 'src/gx_cursor.c')
-rw-r--r--src/gx_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gx_cursor.c b/src/gx_cursor.c
index de706fc..5a8f335 100644
--- a/src/gx_cursor.c
+++ b/src/gx_cursor.c
@@ -67,7 +67,7 @@ extern void GXSetVideoPosition(int x, int y, int width, int height,
Bool
GXHWCursorInit(ScreenPtr pScrn)
{
- ScrnInfoPtr pScrni = xf86Screens[pScrn->myNum];
+ ScrnInfoPtr pScrni = xf86ScreenToScrn(pScrn);
GeodeRec *pGeode = GEODEPTR(pScrni);
xf86CursorInfoPtr infoPtr;