summaryrefslogtreecommitdiff
path: root/src/savage_shadow.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-06 11:22:29 +0100
committerDave Airlie <airlied@redhat.com>2012-06-06 11:22:29 +0100
commita2714fb09e1e0badbb3e98e24d4b1ed92003bdb9 (patch)
tree80a4688783ad46e33fc90e8c014f6a32f41e8c42 /src/savage_shadow.c
parentde22eab9a21df80fe965dc37d21ba3ac2b9f5fd0 (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.c6
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