summaryrefslogtreecommitdiff
path: root/src/nv_shadow.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-07 15:52:16 +0100
committerDave Airlie <airlied@redhat.com>2012-06-07 15:52:16 +0100
commit713e9501b87465cf2a62c27605b6fc4a454dad95 (patch)
tree0be6ee6ba5f01ad4f16c4c798a69992b36047186 /src/nv_shadow.c
parentb3d61828837661c9b383378a7d6006752659108b (diff)
nv: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
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