dix: Ignore devices when deleting passive core grabs.

This commit is contained in:
Peter Hutterer 2007-10-02 16:20:27 +09:30
parent 2b075e97ec
commit f965a5f345

View File

@ -406,7 +406,7 @@ DeletePassiveGrabFromList(GrabPtr pMinuendGrab)
grab = grab->next)
{
if ((CLIENT_BITS(grab->resource) != CLIENT_BITS(pMinuendGrab->resource)) ||
!GrabMatchesSecond(grab, pMinuendGrab, FALSE))
!GrabMatchesSecond(grab, pMinuendGrab, (grab->coreGrab)))
continue;
if (GrabSupersedesSecond(pMinuendGrab, grab))
{