summaryrefslogtreecommitdiff
path: root/dix/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/events.c')
-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);
}