diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-08-14 13:09:38 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2007-08-14 13:09:38 -0400 |
commit | 42d6112ec21949a336ee8b34469f2695273ee2d6 (patch) | |
tree | 49b2123bcdee1062c047b65718d8844c1049ca20 /mi | |
parent | 9a183d7ba50e31afa133cc03aee7991517a283ea (diff) |
xace: add hooks + new access codes: core protocol GC requests
Diffstat (limited to 'mi')
-rw-r--r-- | mi/mibstore.c | 3 | ||||
-rw-r--r-- | mi/midispcur.c | 9 | ||||
-rw-r--r-- | mi/miexpose.c | 2 |
3 files changed, 8 insertions, 6 deletions
diff --git a/mi/mibstore.c b/mi/mibstore.c index 70839ce31..e27c681e8 100644 --- a/mi/mibstore.c +++ b/mi/mibstore.c @@ -3468,7 +3468,8 @@ miBSValidateGC (pGC, stateChanges, pDrawable) /* We never want ops with the backingGC to generate GraphicsExpose */ pBackingGC = CreateGC ((DrawablePtr)pWindowPriv->pBackingPixmap, - GCGraphicsExposures, &noexpose, &status); + GCGraphicsExposures, &noexpose, &status, + (XID)0, serverClient); if (status != Success) lift_functions = TRUE; else diff --git a/mi/midispcur.c b/mi/midispcur.c index de009cbaf..ab1083789 100644 --- a/mi/midispcur.c +++ b/mi/midispcur.c @@ -450,7 +450,8 @@ miDCMakeGC( gcvals[0] = IncludeInferiors; gcvals[1] = FALSE; pGC = CreateGC((DrawablePtr)pWin, - GCSubwindowMode|GCGraphicsExposures, gcvals, &status); + GCSubwindowMode|GCGraphicsExposures, gcvals, &status, + (XID)0, serverClient); if (pGC && pWin->drawable.pScreen->DrawGuarantee) (*pWin->drawable.pScreen->DrawGuarantee) (pWin, pGC, GuaranteeVisBack); *ppGC = pGC; @@ -746,7 +747,7 @@ miDCMoveCursor (pScreen, pCursor, x, y, w, h, dx, dy, source, mask) if (!pScreenPriv->pMoveGC) { pScreenPriv->pMoveGC = CreateGC ((DrawablePtr)pTemp, - GCGraphicsExposures, &gcval, &status); + GCGraphicsExposures, &gcval, &status, (XID)0, serverClient); if (!pScreenPriv->pMoveGC) return FALSE; } @@ -782,14 +783,14 @@ miDCMoveCursor (pScreen, pCursor, x, y, w, h, dx, dy, source, mask) if (!pScreenPriv->pPixSourceGC) { pScreenPriv->pPixSourceGC = CreateGC ((DrawablePtr)pTemp, - GCGraphicsExposures, &gcval, &status); + GCGraphicsExposures, &gcval, &status, (XID)0, serverClient); if (!pScreenPriv->pPixSourceGC) return FALSE; } if (!pScreenPriv->pPixMaskGC) { pScreenPriv->pPixMaskGC = CreateGC ((DrawablePtr)pTemp, - GCGraphicsExposures, &gcval, &status); + GCGraphicsExposures, &gcval, &status, (XID)0, serverClient); if (!pScreenPriv->pPixMaskGC) return FALSE; } diff --git a/mi/miexpose.c b/mi/miexpose.c index df04bd291..332b21636 100644 --- a/mi/miexpose.c +++ b/mi/miexpose.c @@ -763,7 +763,7 @@ int what; if (!ResType && !(ResType = CreateNewResourceType(tossGC))) return; screenContext[i] = CreateGC((DrawablePtr)pWin, (BITS32) 0, - (XID *)NULL, &status); + (XID *)NULL, &status, 0, serverClient); if (!screenContext[i]) return; numGCs++; |