Commit 328073e4 authored by Thomas Klausner's avatar Thomas Klausner

Fix arguments for miSetPointerPosition.

For the call for the API between versions 5 and 15.
Reviewed-by: Connor Behan's avatarConnor Behan <connor.behan@gmail.com>
parent 13b56dc6
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment