summaryrefslogtreecommitdiff
path: root/src/ffb_cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffb_cursor.c')
-rw-r--r--src/ffb_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffb_cursor.c b/src/ffb_cursor.c
index d347a46..554866d 100644
--- a/src/ffb_cursor.c
+++ b/src/ffb_cursor.c
@@ -112,7 +112,7 @@ FFBSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg)
Bool
FFBHWCursorInit(ScreenPtr pScreen)
{
- ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
FFBPtr pFfb;
xf86CursorInfoPtr infoPtr;