summaryrefslogtreecommitdiff
path: root/src/gx_cursor.c
diff options
context:
space:
mode:
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;