summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xext/xf86bigfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/xf86bigfont.c b/Xext/xf86bigfont.c
index c2f891a7e..29f07a63e 100644
--- a/Xext/xf86bigfont.c
+++ b/Xext/xf86bigfont.c
@@ -445,10 +445,10 @@ ProcXF86BigfontQueryFont(
#endif
client->errorValue = stuff->id; /* EITHER font or gc */
pFont = (FontPtr)SecurityLookupIDByType(client, stuff->id, RT_FONT,
- DixReadAccess);
+ DixGetAttrAccess);
if (!pFont) {
GC *pGC = (GC *) SecurityLookupIDByType(client, stuff->id, RT_GC,
- DixReadAccess);
+ DixGetAttrAccess);
if (!pGC) {
client->errorValue = stuff->id;
return BadFont; /* procotol spec says only error is BadFont */