summaryrefslogtreecommitdiff
path: root/src/nv_shadow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv_shadow.c')
-rw-r--r--src/nv_shadow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nv_shadow.c b/src/nv_shadow.c
index 7f835a1..3946448 100644
--- a/src/nv_shadow.c
+++ b/src/nv_shadow.c
@@ -42,9 +42,9 @@ NVRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox)
}
void
-NVPointerMoved(int index, int x, int y)
+NVPointerMoved(SCRN_ARG_TYPE arg, int x, int y)
{
- ScrnInfoPtr pScrn = xf86Screens[index];
+ SCRN_INFO_PTR(arg);
NVPtr pNv = NVPTR(pScrn);
int newX, newY;
@@ -56,7 +56,7 @@ NVPointerMoved(int index, int x, int y)
newY = pScrn->pScreen->width - x - 1;
}
- (*pNv->PointerMoved)(index, newX, newY);
+ (*pNv->PointerMoved)(arg, newX, newY);
}
void