diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-07 15:52:16 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-07 15:52:16 +0100 |
commit | 713e9501b87465cf2a62c27605b6fc4a454dad95 (patch) | |
tree | 0be6ee6ba5f01ad4f16c4c798a69992b36047186 /src/nv_shadow.c | |
parent | b3d61828837661c9b383378a7d6006752659108b (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.c | 6 |
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 |