3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #90635 from Twey/libinput-touchpad

libinput: ensure that we only apply touchpad options to touchpads
This commit is contained in:
Michele Guerini Rocco 2020-06-20 09:58:47 +02:00 committed by GitHub
commit 41e1bd6021
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,6 +219,7 @@ in {
Section "InputClass"
Identifier "libinputConfiguration"
MatchDriver "libinput"
MatchTag "Touchpad"
${optionalString (cfg.dev != null) ''MatchDevicePath "${cfg.dev}"''}
Option "AccelProfile" "${cfg.accelProfile}"
${optionalString (cfg.accelSpeed != null) ''Option "AccelSpeed" "${cfg.accelSpeed}"''}