summaryrefslogtreecommitdiff
path: root/src/properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/properties.c')
-rw-r--r--src/properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/properties.c b/src/properties.c
index 525649c..4c75797 100644
--- a/src/properties.c
+++ b/src/properties.c
@@ -600,7 +600,7 @@ SetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop,
off = *(CARD8 *) prop->data;
- if (off > 3)
+ if (off > 2)
return BadValue;
para->touchpad_off = off;