mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 12:20:06 +01:00
dix: remove duplicate code in ReleaseActiveGrabs
Spotted by Colin Harrison.
This commit is contained in:
parent
3fc4f40b6c
commit
ad67e3f063
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue