Lines Matching refs:pSecondGrab

405 GrabSupersedesSecond(GrabPtr pFirstGrab, GrabPtr pSecondGrab)  in GrabSupersedesSecond()  argument
410 pSecondGrab->modifiersDetail, any_modifier)) in GrabSupersedesSecond()
414 pSecondGrab->detail, (unsigned int) AnyKey)) in GrabSupersedesSecond()
434 GrabMatchesSecond(GrabPtr pFirstGrab, GrabPtr pSecondGrab, Bool ignoreDevice) in GrabMatchesSecond() argument
439 if (pFirstGrab->grabtype != pSecondGrab->grabtype) in GrabMatchesSecond()
444 pSecondGrab->device == inputInfo.all_devices) { in GrabMatchesSecond()
448 if (pSecondGrab->device != inputInfo.all_master_devices && in GrabMatchesSecond()
449 !IsMaster(pSecondGrab->device)) in GrabMatchesSecond()
452 else if (pSecondGrab->device == inputInfo.all_master_devices) { in GrabMatchesSecond()
457 else if (pSecondGrab->device != pFirstGrab->device) in GrabMatchesSecond()
461 ((pFirstGrab->device != pSecondGrab->device) || in GrabMatchesSecond()
462 (pFirstGrab->modifierDevice != pSecondGrab->modifierDevice))) in GrabMatchesSecond()
465 if (pFirstGrab->type != pSecondGrab->type) in GrabMatchesSecond()
468 if (GrabSupersedesSecond(pFirstGrab, pSecondGrab) || in GrabMatchesSecond()
469 GrabSupersedesSecond(pSecondGrab, pFirstGrab)) in GrabMatchesSecond()
472 if (DetailSupersedesSecond(pSecondGrab->detail, pFirstGrab->detail, in GrabMatchesSecond()
476 pSecondGrab->modifiersDetail, any_modifier)) in GrabMatchesSecond()
479 if (DetailSupersedesSecond(pFirstGrab->detail, pSecondGrab->detail, in GrabMatchesSecond()
482 DetailSupersedesSecond(pSecondGrab->modifiersDetail, in GrabMatchesSecond()
490 GrabsAreIdentical(GrabPtr pFirstGrab, GrabPtr pSecondGrab) in GrabsAreIdentical() argument
495 if (pFirstGrab->grabtype != pSecondGrab->grabtype) in GrabsAreIdentical()
498 if (pFirstGrab->device != pSecondGrab->device || in GrabsAreIdentical()
499 (pFirstGrab->modifierDevice != pSecondGrab->modifierDevice) || in GrabsAreIdentical()
500 (pFirstGrab->type != pSecondGrab->type)) in GrabsAreIdentical()
504 pSecondGrab->detail, in GrabsAreIdentical()
506 DetailSupersedesSecond(pSecondGrab->detail, in GrabsAreIdentical()
511 pSecondGrab->modifiersDetail, in GrabsAreIdentical()
513 DetailSupersedesSecond(pSecondGrab->modifiersDetail, in GrabsAreIdentical()