summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-12 10:19:36 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-13 13:50:40 +1030
commitad67e3f063aa79247270f29e989bbfe5f62c9ed7 (patch)
tree6832237740163dae3c4b561af8bb15619d06b76f /dix
parent3fc4f40b6c6cb416c9dc4bdb35c91b4f32c03ccc (diff)
dix: remove duplicate code in ReleaseActiveGrabs
Spotted by Colin Harrison.
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/dix/events.c b/dix/events.c
index 0157368ff..658dbc3a7 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -1922,12 +1922,6 @@ ReleaseActiveGrabs(ClientPtr client)
(*dev->deviceGrab.DeactivateGrab)(dev);
done = FALSE;
}
-
- if (dev->deviceGrab.grab && SameClient(dev->deviceGrab.grab, client))
- {
- (*dev->deviceGrab.DeactivateGrab)(dev);
- done = FALSE;
- }
}
} while (!done);
}