summaryrefslogtreecommitdiff
path: root/src/mga_shadow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mga_shadow.c')
-rw-r--r--src/mga_shadow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mga_shadow.c b/src/mga_shadow.c
index 4842e3a..a8d5cfb 100644
--- a/src/mga_shadow.c
+++ b/src/mga_shadow.c
@@ -45,9 +45,9 @@ MGARefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox)
}
void
-MGAPointerMoved(int index, int x, int y)
+MGAPointerMoved(SCRN_ARG_TYPE arg, int x, int y)
{
- ScrnInfoPtr pScrn = xf86Screens[index];
+ SCRN_INFO_PTR(arg);
MGAPtr pMga = MGAPTR(pScrn);
int newX, newY;
@@ -59,7 +59,7 @@ MGAPointerMoved(int index, int x, int y)
newY = pScrn->pScreen->width - x - 1;
}
- (*pMga->PointerMoved)(index, newX, newY);
+ (*pMga->PointerMoved)(arg, newX, newY);
}
void