From a2633c807812e6e8ad9c82e2a5940dfbf370aff5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 8 Oct 2008 14:52:13 +1030 Subject: Fix up bad return code in draglock property handler. --- src/draglock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/draglock.c') 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) -- cgit v1.2.3