diff --git a/libinput-elantech-pressure-levels.patch b/libinput-elantech-pressure-levels.patch index a543d38..6ff1de8 100644 --- a/libinput-elantech-pressure-levels.patch +++ b/libinput-elantech-pressure-levels.patch @@ -1,3 +1,11 @@ +From: badshah400@gmail.com + +Fix pressure sensitivity for ELANTECH touchpads causing uncomfortable +two-finger taps, scrolls. + +References: http://bugzilla.opensuse.org/1034335 +References: http://bugs.freedesktop.orgs/100463 + Index: libinput-1.7.0/src/evdev-mt-touchpad.c =================================================================== --- libinput-1.7.0.orig/src/evdev-mt-touchpad.c diff --git a/libinput.spec b/libinput.spec index bff71ac..5e76103 100644 --- a/libinput.spec +++ b/libinput.spec @@ -32,8 +32,7 @@ Source: http://freedesktop.org/software/libinput/%name-%version.tar.xz Source2: http://freedesktop.org/software/libinput/%name-%version.tar.xz.sig Source3: baselibs.conf Source4: %name.keyring -# PATCH-FIX-UPSTREAM libinput-elantech-pressure-levels.patch boo#1034335 fdo#100463 badshah400@gmail.com -- Fix pressure sensitivity for ELANTECH touchpads causing uncomfortable two-finger taps, scrolls -Patch0: libinput-elantech-pressure-levels.patch +Patch1: libinput-elantech-pressure-levels.patch #git#BuildRequires: autoconf >= 2.64 #git#BuildRequires: automake >= 1.11 #git#BuildRequires: libtool >= 2.2 @@ -100,7 +99,7 @@ to develop applications that require libinput. %prep %setup -qn %name-%version -%patch0 -p1 +%patch -P 1 -p1 %build if [ ! -e configure ]; then