Fix up bad return code in draglock property handler.

This commit is contained in:
Peter Hutterer
2008-10-08 14:52:13 +10:30
parent e6c699dedc
commit a2633c8078

View File

@@ -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)