mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-29 02:31:18 +00:00
Xi: remove ungrab handling of ExtendedUngrabDevice request.
This can be done by UngrabDevice, no need for separate codepaths.
This commit is contained in:
parent
f14a62f823
commit
27b2127893
3 changed files with 2 additions and 30 deletions
12
dix/events.c
12
dix/events.c
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue