Xi: remove ungrab handling of ExtendedUngrabDevice request.

This can be done by UngrabDevice, no need for separate codepaths.
This commit is contained in:
Peter Hutterer 2008-02-25 17:00:42 +10:30
commit 27b2127893
3 changed files with 2 additions and 30 deletions

View file

@ -6604,15 +6604,3 @@ ExtGrabDevice(ClientPtr client,
return GrabSuccess;
}
_X_EXPORT int
ExtUngrabDevice(ClientPtr client, DeviceIntPtr dev)
{
GrabInfoPtr grabinfo = &dev->deviceGrab;
if (grabinfo->grab && SameClient(grabinfo->grab, client))
(*grabinfo->DeactivateGrab)(dev);
return GrabSuccess;
}