mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-24 01:40:36 +00:00
Fix most remaining deprecated resource lookups.
Callsites updated to use dixLookupResourceBy{Type,Class}.
TODO: Audit access modes to make sure they reflect the usage.
This commit is contained in:
parent
1abe0ee3da
commit
57aff88c7d
50 changed files with 1017 additions and 1037 deletions
|
|
@ -211,8 +211,8 @@ Bool xf86HandleColormaps(
|
|||
ComputeGamma(pScreenPriv);
|
||||
|
||||
/* get the default map */
|
||||
|
||||
pDefMap = (ColormapPtr) LookupIDByType(pScreen->defColormap, RT_COLORMAP);
|
||||
dixLookupResourceByType((pointer *)&pDefMap, pScreen->defColormap,
|
||||
RT_COLORMAP, serverClient, DixInstallAccess);
|
||||
|
||||
if(!CMapAllocateColormapPrivate(pDefMap)) {
|
||||
CMapUnwrapScreen(pScreen);
|
||||
|
|
|
|||
Loading…
Reference in a new issue