diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2015-09-13 23:28:53 +0200 |
---|---|---|
committer | Thomas Klausner <wiz@NetBSD.org> | 2015-10-01 07:18:38 +0200 |
commit | 328073e46f9b9fcc09e637c94496c90273a0a4f6 (patch) | |
tree | 28d79d02c66c021a5da4c81a00c5bc1d50363962 | |
parent | 13b56dc68af8cc41f4fd44115302a3ebbe6662a1 (diff) |
Fix arguments for miSetPointerPosition.
For the call for the API between versions 5 and 15.
Reviewed-by: Connor Behan <connor.behan@gmail.com>
-rw-r--r-- | src/sis_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sis_driver.c b/src/sis_driver.c index 854cb54..8f06164 100644 --- a/src/sis_driver.c +++ b/src/sis_driver.c @@ -9395,9 +9395,9 @@ SISMergedPointerMoved(SCRN_ARG_TYPE arg, int x, int y) y = (int)dy; } #elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 13 - miPointerSetPosition(inputInfo.pointer, Absolute, x, y); + miPointerSetPosition(inputInfo.pointer, Absolute, &x, &y); #elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 5 - miPointerSetPosition(inputInfo.pointer, x, y); + miPointerSetPosition(inputInfo.pointer, &x, &y); #else UpdateCurrentTime(); miPointerAbsoluteCursor(x, y, currentTime.milliseconds); |