xserver-xorg-input-synaptics: Changes to 'ubuntu+1'
debian/changelog | 7 ++++
debian/patches/129_tmp_pointer_drift.patch | 47 +++++++++++++++++++++++++++++
debian/patches/series | 1
3 files changed, 55 insertions(+)
New commits:
commit dbad93abd4af35e1b0cd0b49737c994007dcd515
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Mon Feb 20 11:55:43 2012 +0100
releasing version 1.5.99~git20120220-0ubuntu2
diff --git a/debian/changelog b/debian/changelog
index ea64a27..3bcde23 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-xserver-xorg-input-synaptics (1.5.99~git20120220-0ubuntu2) UNRELEASED; urgency=low
+xserver-xorg-input-synaptics (1.5.99~git20120220-0ubuntu2) precise; urgency=low
* Prevent trackpad pointer drift (LP: #921082)
- Add temporary patch 129_tmp_pointer_drift.patch from upstream
- -- Chase Douglas <chase.douglas@ubuntu.com> Mon, 20 Feb 2012 11:51:07 +0100
+ -- Chase Douglas <chase.douglas@ubuntu.com> Mon, 20 Feb 2012 11:55:23 +0100
xserver-xorg-input-synaptics (1.5.99~git20120220-0ubuntu1) precise; urgency=low
commit 8a5fe35c6f869cc4dc53b0ab5d5fd3d1049266a9
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Mon Feb 20 11:52:32 2012 +0100
Prevent trackpad pointer drift (LP: #921082)
* Prevent trackpad pointer drift (LP: #921082)
- Add temporary patch 129_tmp_pointer_drift.patch from upstream
diff --git a/debian/changelog b/debian/changelog
index 7353dcd..ea64a27 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xserver-xorg-input-synaptics (1.5.99~git20120220-0ubuntu2) UNRELEASED; urgency=low
+
+ * Prevent trackpad pointer drift (LP: #921082)
+ - Add temporary patch 129_tmp_pointer_drift.patch from upstream
+
+ -- Chase Douglas <chase.douglas@ubuntu.com> Mon, 20 Feb 2012 11:51:07 +0100
+
xserver-xorg-input-synaptics (1.5.99~git20120220-0ubuntu1) precise; urgency=low
* Update to latest code in git (f9a9065)
diff --git a/debian/patches/129_tmp_pointer_drift.patch b/debian/patches/129_tmp_pointer_drift.patch
new file mode 100644
index 0000000..720da4f
--- /dev/null
+++ b/debian/patches/129_tmp_pointer_drift.patch
@@ -0,0 +1,47 @@
+From: Peter Hutterer <peter.hutterer@who-t.net>
+To: "X.Org Devel List" <xorg-devel@lists.freedesktop.org>
+Subject: [PATCH synaptics] Revert "Don't store fake events in the motion
+ history"
+Cc: Daniel Stone <daniel@freedesktop.org>
+
+This commit introduced a regression. On some touchpads, the pointer keeps
+moving in the last direction when the finger movement stops but the finger
+is left on the touchpad.
+
+Cause appears to be get_delta() which calculates the deltas based on the
+motion history but has no control flow for the lack of fake motion events
+in the history after this commit. Thus, under some conditions, the delta is
+always non-zero as the history does not change.
+
+Reproducer attached to bug
+https://bugs.freedesktop.org/show_bug.cgi?id=45278#c11
+
+X.Org Bug 45278 <http://bugs.freedesktop.org/show_bug.cgi?id=45278>
+
+This reverts commit c8b098214b44cf0585d78c460401ea7d143769f3.
+
+Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+---
+There is probably a more extensive fix, starting with figuring out why the
+timer still fires after enough movement to adding hooks for ignoring the
+motion history if we're from a timer. This requires more time that I have
+available atm.
+
+ src/synaptics.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/synaptics.c b/src/synaptics.c
+index 7b3f680..65b48ee 100644
+--- a/src/synaptics.c
++++ b/src/synaptics.c
+@@ -2887,7 +2887,7 @@ HandleState(InputInfoPtr pInfo, struct SynapticsHwState *hw, CARD32 now,
+ priv->lastButtons = buttons;
+
+ /* generate a history of the absolute positions */
+- if (inside_active_area && !from_timer)
++ if (inside_active_area)
+ store_history(priv, hw->x, hw->y, hw->millis);
+ return delay;
+ }
+--
+1.7.7.5
diff --git a/debian/patches/series b/debian/patches/series
index 00409ad..2ce9188 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -19,3 +19,4 @@
126_ubuntu_xi22.patch
127_default_drag_lock.patch
128_disable_three_click_action.patch
+129_tmp_pointer_drift.patch
Reply to: