xace: add hooks + new access codes: XF86-Bigfont extension
This commit is contained in:
parent
f6532a81ee
commit
a247886b08
|
@ -445,10 +445,10 @@ ProcXF86BigfontQueryFont(
|
||||||
#endif
|
#endif
|
||||||
client->errorValue = stuff->id; /* EITHER font or gc */
|
client->errorValue = stuff->id; /* EITHER font or gc */
|
||||||
pFont = (FontPtr)SecurityLookupIDByType(client, stuff->id, RT_FONT,
|
pFont = (FontPtr)SecurityLookupIDByType(client, stuff->id, RT_FONT,
|
||||||
DixReadAccess);
|
DixGetAttrAccess);
|
||||||
if (!pFont) {
|
if (!pFont) {
|
||||||
GC *pGC = (GC *) SecurityLookupIDByType(client, stuff->id, RT_GC,
|
GC *pGC = (GC *) SecurityLookupIDByType(client, stuff->id, RT_GC,
|
||||||
DixReadAccess);
|
DixGetAttrAccess);
|
||||||
if (!pGC) {
|
if (!pGC) {
|
||||||
client->errorValue = stuff->id;
|
client->errorValue = stuff->id;
|
||||||
return BadFont; /* procotol spec says only error is BadFont */
|
return BadFont; /* procotol spec says only error is BadFont */
|
||||||
|
|
Loading…
Reference in New Issue