From b54c21859be3590a319ceade1f58d0b89ac5ef32 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Mar 2013 00:04:27 -0700 Subject: Tue Mar 19 00:04:27 PDT 2013 --- extra/xf86-video-sis/Xi.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 extra/xf86-video-sis/Xi.patch (limited to 'extra/xf86-video-sis/Xi.patch') diff --git a/extra/xf86-video-sis/Xi.patch b/extra/xf86-video-sis/Xi.patch new file mode 100644 index 000000000..74732f33a --- /dev/null +++ b/extra/xf86-video-sis/Xi.patch @@ -0,0 +1,19 @@ +--- xf86-video-sis-0.10.7/src/sis_driver.c 2013-03-10 13:57:50.000000000 +0100 ++++ xf86-video-sis-0.10.7/src/sis_driver.c.new 2013-03-10 13:54:48.645203559 +0100 +@@ -9378,7 +9378,15 @@ + } + if(doit) { + sigstate = xf86BlockSIGIO(); +-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15 ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 18 ++ { ++ double dx = x, dy = y; ++ miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy, ++ NULL, NULL); ++ x = (int)dx; ++ y = (int)dy; ++ } ++#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15 + { + double dx = x, dy = y; + miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy); -- cgit v1.2.3-54-g00ecf