From ad67e3f063aa79247270f29e989bbfe5f62c9ed7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sun, 12 Oct 2008 10:19:36 +1030 Subject: [PATCH] dix: remove duplicate code in ReleaseActiveGrabs Spotted by Colin Harrison. --- dix/events.c | 6 ------ 1 file changed, 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); }