dix: Ignore devices when deleting passive core grabs.
This commit is contained in:
parent
2b075e97ec
commit
f965a5f345
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user