diff options
Diffstat (limited to 'src/riva_cursor.c')
-rw-r--r-- | src/riva_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/riva_cursor.c b/src/riva_cursor.c index a9c614e..f8dcae1 100644 --- a/src/riva_cursor.c +++ b/src/riva_cursor.c @@ -144,7 +144,7 @@ RivaUseHWCursor(ScreenPtr pScreen, CursorPtr pCurs) Bool RivaCursorInit(ScreenPtr pScreen) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); RivaPtr pRiva = RivaPTR(pScrn); xf86CursorInfoPtr infoPtr; |