From c0c551f1586c02dc4425343f3569398f4cfa1e13 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 16 Apr 2015 18:21:36 +1000 Subject: [PATCH] git add the patch... --- ...uce-palm-detection-threshold-to-70mm.patch | 29 +++++++++++++++++++ libinput.spec | 5 +++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 0001-touchpad-Reduce-palm-detection-threshold-to-70mm.patch diff --git a/0001-touchpad-Reduce-palm-detection-threshold-to-70mm.patch b/0001-touchpad-Reduce-palm-detection-threshold-to-70mm.patch new file mode 100644 index 0000000..835c702 --- /dev/null +++ b/0001-touchpad-Reduce-palm-detection-threshold-to-70mm.patch @@ -0,0 +1,29 @@ +From 18feed4a85d9553b2d600f487c1f00f346f8fb53 Mon Sep 17 00:00:00 2001 +From: Peter Hutterer +Date: Tue, 14 Apr 2015 15:18:19 +1000 +Subject: [PATCH libinput] touchpad: Reduce palm detection threshold to 70mm + +Signed-off-by: Peter Hutterer +--- + src/evdev-mt-touchpad.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c +index 68070c2..a663db9 100644 +--- a/src/evdev-mt-touchpad.c ++++ b/src/evdev-mt-touchpad.c +@@ -1105,9 +1105,9 @@ tp_init_palmdetect(struct tp_dispatch *tp, + if (device->abs.absinfo_x->resolution == 1) + return 0; + +- /* Enable palm detection on touchpads >= 80 mm. Anything smaller ++ /* Enable palm detection on touchpads >= 70 mm. Anything smaller + probably won't need it, until we find out it does */ +- if (width/device->abs.absinfo_x->resolution < 80) ++ if (width/device->abs.absinfo_x->resolution < 70) + return 0; + } + +-- +2.3.4 + diff --git a/libinput.spec b/libinput.spec index abf7c99..e1d079d 100644 --- a/libinput.spec +++ b/libinput.spec @@ -5,7 +5,7 @@ Name: libinput Version: 0.13.0 -Release: 5%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 6%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Summary: Input device library License: MIT @@ -91,6 +91,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %changelog +* Thu Apr 16 2015 Peter Hutterer 0.13.0-6 +- git add the patch... + * Thu Apr 16 2015 Peter Hutterer 0.13.0-5 - Reduce palm detection threshold to 70mm (#1209753) - Don't allow taps in the top part of the palm zone (#1209753)