aboutsummaryrefslogtreecommitdiff
path: root/etc/X11
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-07-04 01:24:21 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-07-04 01:30:02 +0200
commitad7f9e835a361e27143e222218242e5c7cd86143 (patch)
tree60752fc295c4256bf694cf01f1485bdcf90993e2 /etc/X11
parent6653bd38f152db1f453620e6ddea579f43e13a63 (diff)
downloadlbsd-ad7f9e835a361e27143e222218242e5c7cd86143.tar.gz
xorg.conf: Disable middle-click emulation
Diffstat (limited to 'etc/X11')
-rw-r--r--etc/X11/xorg.conf21
1 files changed, 15 insertions, 6 deletions
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