[PATCH:xf86-video-sis] Fix arguments for miSetPointerPosition.

Thomas Klausner wiz at NetBSD.org
Sun Sep 13 14:29:40 PDT 2015


For the call for the API between versions 5 and 13.
---
 src/sis_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sis_driver.c b/src/sis_driver.c
index 854cb54..c1d26f3 100644
--- a/src/sis_driver.c
+++ b/src/sis_driver.c
@@ -9397,7 +9397,7 @@ SISMergedPointerMoved(SCRN_ARG_TYPE arg, int x, int y)
 #elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 13
 	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);
-- 
2.5.1



More information about the xorg-devel mailing list