diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-06 11:22:29 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-06 11:22:29 +0100 |
commit | a2714fb09e1e0badbb3e98e24d4b1ed92003bdb9 (patch) | |
tree | 80a4688783ad46e33fc90e8c014f6a32f41e8c42 /src/savage_shadow.c | |
parent | de22eab9a21df80fe965dc37d21ba3ac2b9f5fd0 (diff) |
savage: port to new compat API
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/savage_shadow.c')
-rw-r--r-- | src/savage_shadow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/savage_shadow.c b/src/savage_shadow.c index 899da11..a430a69 100644 --- a/src/savage_shadow.c +++ b/src/savage_shadow.c @@ -42,9 +42,9 @@ SavageRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox) void -SavagePointerMoved(int index, int x, int y) +SavagePointerMoved(SCRN_ARG_TYPE arg, int x, int y) { - ScrnInfoPtr pScrn = xf86Screens[index]; + SCRN_INFO_PTR(arg); SavagePtr psav = SAVPTR(pScrn); int newX, newY; @@ -56,7 +56,7 @@ SavagePointerMoved(int index, int x, int y) newY = pScrn->pScreen->width - x - 1; } - (*psav->PointerMoved)(index, newX, newY); + (*psav->PointerMoved)(arg, newX, newY); } void |