kcm_touchpad: No touchpad found (#1199825)

epel9
Rex Dieter 10 years ago
parent 8d8fa95c0c
commit c9a8901ade

@ -0,0 +1,20 @@
diff -ur plasma-desktop-5.3.1/kcms/touchpad/src/backends/x11/xlibbackend.cpp plasma-desktop-5.3.1-patched/kcms/touchpad/src/backends/x11/xlibbackend.cpp
--- plasma-desktop-5.3.1/kcms/touchpad/src/backends/x11/xlibbackend.cpp 2015-05-21 11:56:56.000000000 -0500
+++ plasma-desktop-5.3.1-patched/kcms/touchpad/src/backends/x11/xlibbackend.cpp 2015-06-23 14:37:18.191713320 -0500
@@ -322,11 +322,16 @@
xcb_connection_t *connection = XGetXCBConnection(display.data());
XcbAtom synaptics_prop_capablities, libinput_prop_tapping;
+ synaptics_prop_capablities.intern(connection,"synaptics Tap Action");
+ if (synaptics_prop_capablities.atom()) {
+ return new XlibSynapticsBackend(parent);
+ } else {
libinput_prop_tapping.intern(connection, "libinput Tapping Enabled");
if (libinput_prop_tapping.atom())
return new XlibLibinputBackend(parent);
else
return new XlibSynapticsBackend(parent);
+ }
}
XlibBackend::~XlibBackend()

@ -1,6 +1,6 @@
Name: plasma-desktop
Version: 5.3.1
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Plasma Desktop shell
License: GPLv2+ and (GPLv2 or GPLv3)
@ -27,6 +27,10 @@ Patch14: 0014-Fix-dropping-files-onto-the-desktop-containment.patch
Patch15: 0015-Remove-X-KDE-Library-from-the-trash-library.patch
Patch18: 0018-Don-t-overwrite-audio-profile-entries-with-same-prio.patch
## upstreamable patches
# https://bugzilla.redhat.com/show_bug.cgi?id=1199825#c11
Patch50: plasma-desktop-5.3.1-touchpad_backend.patch
BuildRequires: libusb-devel
BuildRequires: fontconfig-devel
BuildRequires: libX11-devel
@ -283,6 +287,9 @@ fi
%changelog
* Tue Jun 23 2015 Rex Dieter <rdieter@fedoraproject.org> 5.3.1-7
- kcm_touchpad: No touchpad found (#1199825)
* Wed Jun 17 2015 Rex Dieter <rdieter@fedoraproject.org> 5.3.1-6
- kcm_phonon does not display all HDMI audio ports (#1232903)

Loading…
Cancel
Save