summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Stine <battousai@gentoo.org>2008-06-07 10:13:15 +0200
committerChristoph Brill <egore911@egore911.de>2008-06-07 10:13:15 +0200
commit8efccb0a76833b31a8d0273b49dd584246a97c7d (patch)
tree657ab9efed4a6f261620fafc55bfcd5b9d466cda
parent7761e3903fa70aed951c0fc81b58382cf0ac6057 (diff)
Add synaptics-fix-xinerama.patch from gentoo
First, added a patch to driver code to allow the touchpad to interact correctly with multiple screens using Xinerama, fixing bug #206614.
-rw-r--r--src/synaptics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 78ca633..cf8723f 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -684,10 +684,10 @@ DeviceInit(DeviceIntPtr dev)
#endif
);
/* X valuator */
- xf86InitValuatorAxisStruct(dev, 0, 0, -1, 1, 0, 1);
+ xf86InitValuatorAxisStruct(dev, 0, -1, -1, 1, 0, 1);
xf86InitValuatorDefaults(dev, 0);
/* Y valuator */
- xf86InitValuatorAxisStruct(dev, 1, 0, -1, 1, 0, 1);
+ xf86InitValuatorAxisStruct(dev, 1, -1, -1, 1, 0, 1);
xf86InitValuatorDefaults(dev, 1);
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
xf86MotionHistoryAllocate(local);