summaryrefslogtreecommitdiff
path: root/dix/events.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-02-25 17:00:42 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-02-25 17:00:42 +1030
commit27b21278939a06ab6a22c9902f202eae6c5fae72 (patch)
treefd1968b925d9c1fd32771c92808e3f43fcad9999 /dix/events.c
parentf14a62f823e257f92745bbcde11838f2ddd32ac8 (diff)
Xi: remove ungrab handling of ExtendedUngrabDevice request.
This can be done by UngrabDevice, no need for separate codepaths.
Diffstat (limited to 'dix/events.c')
-rw-r--r--dix/events.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/dix/events.c b/dix/events.c
index bf2df9f44..0b9b76884 100644
--- a/dix/events.c
+++ b/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;
-}
-
-
-