mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +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
|
|
@ -508,8 +508,10 @@ vfbUninstallColormap(ColormapPtr pmap)
|
|||
{
|
||||
if (pmap->mid != pmap->pScreen->defColormap)
|
||||
{
|
||||
curpmap = (ColormapPtr) LookupIDByType(pmap->pScreen->defColormap,
|
||||
RT_COLORMAP);
|
||||
dixLookupResourceByType((pointer *)&curpmap,
|
||||
pmap->pScreen->defColormap,
|
||||
RT_COLORMAP, serverClient,
|
||||
DixInstallAccess);
|
||||
(*pmap->pScreen->InstallColormap)(curpmap);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue