summaryrefslogtreecommitdiff
path: root/src/savage_shadow.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-29 16:26:54 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-29 16:42:36 +0200
commit58de94c6d4c3e5d0845962191c472b726ce266d7 (patch)
treee416b56c44ec93202a9223afda3c063327949c25 /src/savage_shadow.c
parent54dcbfeb2b29bc2aea3916f38554d4e9b7141889 (diff)
drop obsolete compat macros
Since we're relying on xserver >= 1.18, these macros aren't needed anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/merge_requests/12>
Diffstat (limited to 'src/savage_shadow.c')
-rw-r--r--src/savage_shadow.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/savage_shadow.c b/src/savage_shadow.c
index a430a69..98b50e7 100644
--- a/src/savage_shadow.c
+++ b/src/savage_shadow.c
@@ -42,9 +42,8 @@ SavageRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox)
void
-SavagePointerMoved(SCRN_ARG_TYPE arg, int x, int y)
+SavagePointerMoved(ScrnInfoPtr pScrn, int x, int y)
{
- SCRN_INFO_PTR(arg);
SavagePtr psav = SAVPTR(pScrn);
int newX, newY;
@@ -56,7 +55,7 @@ SavagePointerMoved(SCRN_ARG_TYPE arg, int x, int y)
newY = pScrn->pScreen->width - x - 1;
}
- (*psav->PointerMoved)(arg, newX, newY);
+ (*psav->PointerMoved)(pScrn, newX, newY);
}
void