summaryrefslogtreecommitdiff
path: root/src/cir_shadow.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-05 19:26:15 +0100
committerDave Airlie <airlied@redhat.com>2012-06-05 19:26:15 +0100
commit9a5e19597be4f5ee4c1030e4a716207789e78668 (patch)
tree35b0cbabf4db38ab2bc6734740db9e5284aca4cc /src/cir_shadow.c
parent2e35bc316d7b74feca177c87a49a8050a2a0ff00 (diff)
cirrus: convert to compat server API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/cir_shadow.c')
-rw-r--r--src/cir_shadow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cir_shadow.c b/src/cir_shadow.c
index 0716a64..5dc8d08 100644
--- a/src/cir_shadow.c
+++ b/src/cir_shadow.c
@@ -44,9 +44,9 @@ cirRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox)
}
_X_EXPORT void
-cirPointerMoved(int index, int x, int y)
+cirPointerMoved(SCRN_ARG_TYPE arg, int x, int y)
{
- ScrnInfoPtr pScrn = xf86Screens[index];
+ SCRN_INFO_PTR(arg);
CirPtr pCir = CIRPTR(pScrn);
int newX, newY;
@@ -58,7 +58,7 @@ cirPointerMoved(int index, int x, int y)
newY = pScrn->pScreen->width - x - 1;
}
- (*pCir->PointerMoved)(index, newX, newY);
+ (*pCir->PointerMoved)(arg, newX, newY);
}
_X_EXPORT void