summaryrefslogtreecommitdiff
path: root/src/draglock.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-08 14:52:13 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-11 12:24:54 +1030
commita2633c807812e6e8ad9c82e2a5940dfbf370aff5 (patch)
tree56ec30a79c561492ae33ba8017e10375c084bd50 /src/draglock.c
parente6c699dedcd6f3b5db497fe2d226806ca4bbe683 (diff)
Fix up bad return code in draglock property handler.
Diffstat (limited to 'src/draglock.c')
-rw-r--r--src/draglock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draglock.c b/src/draglock.c
index 5a5cba2..90809c9 100644
--- a/src/draglock.c
+++ b/src/draglock.c
@@ -267,7 +267,7 @@ EvdevDragLockSetProperty(DeviceIntPtr dev, Atom atom, XIPropertyValuePtr val)
int i;
if (val->format != 8 || val->type != XA_INTEGER)
- return FALSE;
+ return BadMatch;
/* Don't allow changes while a lock is active */
if (pEvdev->dragLock.meta)