Commit dfb19f91 authored by Terry Lambert's avatar Terry Lambert Committed by Peter Hutterer

Return proper default for unknown values in pInfo->device_control.

Signed-off-by: default avatarTerry Lambert <tlambert@chromium.org>
Reviewed-by: default avatarStephane Marchesin <marcheu@chromium.org>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent e2eabdd0
......@@ -171,6 +171,9 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
case DEVICE_CLOSE:
device->public.on = FALSE;
break;
default:
return BadValue;
}
return Success;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment