summaryrefslogtreecommitdiff
path: root/extra/xf86-video-sis/Xi.patch
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-19 11:22:26 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-19 11:22:26 +0100
commit56bf63be7060f55d0048fc1f2e37526723bf0dc7 (patch)
tree5072df371092a3bfded8d6aadca1af5018523291 /extra/xf86-video-sis/Xi.patch
parentd697117f3e2c400f8a7cae7bbbbf27166edc277a (diff)
parentb54c21859be3590a319ceade1f58d0b89ac5ef32 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/bitcoin/PKGBUILD community/chmsee/PKGBUILD community/projectm/PKGBUILD extra/apache/PKGBUILD extra/gv/PKGBUILD extra/libdc1394/PKGBUILD extra/libraw1394/PKGBUILD extra/samba/PKGBUILD extra/sg3_utils/PKGBUILD extra/upower/PKGBUILD extra/xf86-input-aiptek/PKGBUILD extra/xf86-video-modesetting/PKGBUILD extra/xorg-server/PKGBUILD libre/rp-pppoe-libre/PKGBUILD
Diffstat (limited to 'extra/xf86-video-sis/Xi.patch')
-rw-r--r--extra/xf86-video-sis/Xi.patch19
1 files changed, 19 insertions, 0 deletions
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);