Revert "dix: AllocColor() dont fire Xace hook when looking up color at root window"
This reverts commit 912c0c1f76d6cf54864bdd9eda872a19281f65d6.
This commit is contained in:
parent
27364a0cc5
commit
26b3537499
|
@ -1026,7 +1026,7 @@ AllocColor(ColormapPtr pmap,
|
|||
|
||||
dixLookupResourceByType((void **) &prootmap,
|
||||
pmap->pScreen->defColormap, X11_RESTYPE_COLORMAP,
|
||||
NULL, DixReadAccess);
|
||||
clients[client], DixReadAccess);
|
||||
|
||||
if (pmap->class == prootmap->class)
|
||||
FindColorInRootCmap(prootmap, prootmap->red, entries, &rgb,
|
||||
|
@ -1044,7 +1044,7 @@ AllocColor(ColormapPtr pmap,
|
|||
|
||||
dixLookupResourceByType((void **) &prootmap,
|
||||
pmap->pScreen->defColormap, X11_RESTYPE_COLORMAP,
|
||||
NULL, DixReadAccess);
|
||||
clients[client], DixReadAccess);
|
||||
|
||||
if (pmap->class == prootmap->class) {
|
||||
pixR = (*pPix & pVisual->redMask) >> pVisual->offsetRed;
|
||||
|
|
Loading…
Reference in New Issue