summaryrefslogtreecommitdiff
path: root/src/apm_rush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apm_rush.c')
-rw-r--r--src/apm_rush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/apm_rush.c b/src/apm_rush.c
index 0679b5a..61c066a 100644
--- a/src/apm_rush.c
+++ b/src/apm_rush.c
@@ -426,7 +426,7 @@ ProcXF86RushLockPixmap(register ClientPtr client)
rep.sequenceNumber = client->sequence;
pix = (PixmapPtr)SecurityLookupIDByType(client,
stuff->pixmap, RT_PIXMAP,
- SecurityReadAccess);
+ DixReadAccess);
rep.addr = xf86RushLockPixmap(stuff->screen, pix);
WriteToClient(client, SIZEOF(xXF86RushLockPixmapReply), (char*)&rep);
@@ -445,7 +445,7 @@ ProcXF86RushUnlockPixmap(register ClientPtr client)
REQUEST_SIZE_MATCH(xXF86RushUnlockPixmapReq);
pix = (PixmapPtr)SecurityLookupIDByType(client,
stuff->pixmap, RT_PIXMAP,
- SecurityReadAccess);
+ DixReadAccess);
xf86RushUnlockPixmap(stuff->screen, pix);
return client->noClientException;
}
@@ -577,7 +577,7 @@ ProcXF86RushOverlayPixmap(ClientPtr client)
pPixmap = (PixmapPtr)SecurityLookupIDByType(client,
stuff->pixmap, RT_PIXMAP,
- SecurityReadAccess);
+ DixReadAccess);
if (!pPixmap) {
client->errorValue = stuff->pixmap;
return (BadPixmap);