mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Fix up bad return code in draglock property handler.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user