summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuna Nova <freedesktop-gitlab@nyx.nova.fail>2021-12-18 04:55:14 +0000
committerLuna Nova <freedesktop-gitlab@nyx.nova.fail>2021-12-18 04:55:14 +0000
commit830f7c3b1bd29e0e6b6bdbf0ffd2390a4d385413 (patch)
tree25d83dbe4a08c4b36165bd37b631e603a221ca8e
parent4ab78733662e6eb44c0ba6435ee58a8a4d6b264f (diff)
Fix copy-paste error in LibinputInitAccelProperty checking available profiles against adaptive/flat
-rw-r--r--src/xf86libinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index f14ae52..5bb6c28 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -5180,7 +5180,7 @@ LibinputInitAccelProperty(DeviceIntPtr dev,
if (profile_mask & LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE)
profiles[0] = TRUE;
- if (profile_mask & LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE)
+ if (profile_mask & LIBINPUT_CONFIG_ACCEL_PROFILE_FLAT)
profiles[1] = TRUE;
prop_accel_profiles_available = LibinputMakeProperty(dev,