コード例 #1
0
ファイル: grabs.c プロジェクト: dlespiau/xserver
static Bool
DetailSupersedesSecond(DetailRec firstDetail,
                       DetailRec secondDetail, unsigned int exception)
{
    if (IsInGrabMask(firstDetail, secondDetail, exception))
        return TRUE;

    if (IdenticalExactDetails(firstDetail.exact, secondDetail.exact, exception))
        return TRUE;

    return FALSE;
}
コード例 #2
0
ファイル: PassivGrab.c プロジェクト: dimkr/tinyxlib
static Bool DetailSupersedesSecond(
    register DetailPtr firstDetail,
    register DetailPtr secondDetail,
    unsigned short exception)
{
    if (IsInGrabMask(firstDetail, secondDetail, exception))
	return TRUE;

    if (IdenticalExactDetails(firstDetail->exact, secondDetail->exact,
			      exception))
	return TRUE;

    return FALSE;
}