summaryrefslogtreecommitdiff
path: root/extra/xf86-input-synaptics
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
commitb618c3d0693aec564c6746238fd05d94e31d3b76 (patch)
tree4a4834f3097bba25dba1adeba4324080c1b4bf7b /extra/xf86-input-synaptics
parent8cb5196780766f47b595410eed8ddbee2e8add08 (diff)
Tue Apr 3 14:54:45 UTC 2012
Diffstat (limited to 'extra/xf86-input-synaptics')
-rw-r--r--extra/xf86-input-synaptics/synaptics-Fix-inverted-circular-scrolling-direction.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/extra/xf86-input-synaptics/synaptics-Fix-inverted-circular-scrolling-direction.patch b/extra/xf86-input-synaptics/synaptics-Fix-inverted-circular-scrolling-direction.patch
deleted file mode 100644
index fee383855..000000000
--- a/extra/xf86-input-synaptics/synaptics-Fix-inverted-circular-scrolling-direction.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From patchwork Wed Mar 14 03:27:29 2012
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 8bit
-Subject: [synaptics] Fix inverted circular scrolling direction
-Date: Wed, 14 Mar 2012 03:27:29 -0000
-From: Peter Hutterer <peter.hutterer@who-t.net>
-X-Patchwork-Id: 9512
-Message-Id: <20120314032729.GA16614@yabbi.bne.redhat.com>
-To: "X.Org Devel List" <xorg-devel@lists.freedesktop.org>
-Cc: Thomas =?iso-8859-1?Q?B=E4chler?= <thomas@archlinux.org>
-
-Introduced in 26831a6eeac6762ad4d99532f62ebbab0827de10.
-In said commit, the old-style button events were changed to delta
-accumulation. Alas, for circular scrolling, a positive delta is up whereas
-for everything else a positive delta is down.
-
-Reported-by: Thomas Bächler <thomas@archlinux.org>
-Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
----
-src/synaptics.c | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/synaptics.c b/src/synaptics.c
-index fa46f0d..c9609cd 100644
---- a/src/synaptics.c
-+++ b/src/synaptics.c
-@@ -2554,9 +2554,9 @@ HandleScrolling(SynapticsPrivate *priv, struct SynapticsHwState *hw,
- double diff = diffa(priv->scroll.last_a, angle(priv, hw->x, hw->y));
- if (delta >= 0.005 && diff != 0.0) {
- if (priv->circ_scroll_vert)
-- priv->scroll.delta_y += diff / delta * para->scroll_dist_vert;
-+ priv->scroll.delta_y -= diff / delta * para->scroll_dist_vert;
- else
-- priv->scroll.delta_x += diff / delta * para->scroll_dist_horiz;;
-+ priv->scroll.delta_x -= diff / delta * para->scroll_dist_horiz;;
- priv->scroll.last_a = angle(priv, hw->x, hw->y);
- DBG(priv, 10, "circ scoll delta: %.2f diff %.2f angle %.2f\n", delta, diff, priv->scroll.last_a);
- }