From ad7f9e835a361e27143e222218242e5c7cd86143 Mon Sep 17 00:00:00 2001
From: John Ankarstrom <john@ankarstrom.se>
Date: Sun, 4 Jul 2021 01:24:21 +0200
Subject: xorg.conf: Disable middle-click emulation

---
 etc/X11/xorg.conf | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

(limited to 'etc/X11')

diff --git a/etc/X11/xorg.conf b/etc/X11/xorg.conf
index 3324cf8..1c0dbe5 100644
--- a/etc/X11/xorg.conf
+++ b/etc/X11/xorg.conf
@@ -1,8 +1,17 @@
 Section "InputDevice"
-	Identifier		"Keyboard0"
-	Driver			"kbd"
-	Option "XkbModel"	"pc105"
-	Option "XkbLayout"	"se,se,ru"
-	Option "XkbVariant"	"nodeadkeys,,"
-	Option "XkbOptions"	"grp:alt_caps_toggle,compose:paus"
+	Identifier	"Keyboard0"
+	Driver		"kbd"
+	Option		"XkbModel" "pc105"
+	Option		"XkbLayout" "se,se,ru"
+	Option		"XkbVariant" "nodeadkeys,,"
+	Option		"XkbOptions" "grp:alt_caps_toggle,compose:paus"
+EndSection
+
+Section "InputDevice"
+	Identifier	"<default pointer>"
+	Driver      	"mouse"
+	Option		"Protocol" "wsmouse"
+	Option		"Device" "/dev/wsmouse"
+	Option		"Emulate3Buttons" "Off"
+	Option		"ZAxisMapping" "4 5 6 7"
 EndSection
-- 
cgit v1.2.3