summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-base/xorg-server/files/99-synaptics-overrides.conf9
-rw-r--r--x11-base/xorg-server/xorg-server-1.19.5-r10.ebuild (renamed from x11-base/xorg-server/xorg-server-1.19.5-r1710.ebuild)4
2 files changed, 13 insertions, 0 deletions
diff --git a/x11-base/xorg-server/files/99-synaptics-overrides.conf b/x11-base/xorg-server/files/99-synaptics-overrides.conf
new file mode 100644
index 00000000..daea67e1
--- /dev/null
+++ b/x11-base/xorg-server/files/99-synaptics-overrides.conf
@@ -0,0 +1,9 @@
+# Enable click using touchpad (https://bugs.redcorelinux.org/show_bug.cgi?id=48)
+
+Section "InputClass"
+ Identifier "touchpad overrides"
+ MatchDriver "synaptics"
+ Option "TapButton1" "1"
+ Option "VertEdgeScroll" "1"
+ Option "RBCornerButton" "3"
+EndSection
diff --git a/x11-base/xorg-server/xorg-server-1.19.5-r1710.ebuild b/x11-base/xorg-server/xorg-server-1.19.5-r10.ebuild
index 2ea07cb0..7a01d404 100644
--- a/x11-base/xorg-server/xorg-server-1.19.5-r1710.ebuild
+++ b/x11-base/xorg-server/xorg-server-1.19.5-r10.ebuild
@@ -227,6 +227,10 @@ src_install() {
# install the @x11-module-rebuild set for Portage
insinto /usr/share/portage/config/sets
newins "${FILESDIR}"/xorg-sets.conf xorg.conf
+
+ # enable click using touchpad (https://bugs.redcorelinux.org/show_bug.cgi?id=48)
+ insinto /usr/share/X11/xorg.conf.d
+ newins "${FILESDIR}"/99-synaptics-overrides.conf
}
pkg_postinst() {