summaryrefslogtreecommitdiff
path: root/Xext/xvdisp.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-09-25 09:56:00 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-09-25 09:56:00 -0400
commitb61461425eb15fcff2a58330d74fe5a5a1f226fc (patch)
treeb12482f5fbe3d21d31207b9c801b8f59c73e98dc /Xext/xvdisp.c
parent9bd04055a2175ec16756d3bf73ae03b5e163a28a (diff)
xace: add hooks + new access codes: XV extension.
May need to revisit this extension in the future, depending on observed use.
Diffstat (limited to 'Xext/xvdisp.c')
-rw-r--r--Xext/xvdisp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xext/xvdisp.c b/Xext/xvdisp.c
index a2dac7584..f6130dfe1 100644
--- a/Xext/xvdisp.c
+++ b/Xext/xvdisp.c
@@ -383,7 +383,7 @@ ProcXvQueryAdaptors(ClientPtr client)
REQUEST(xvQueryAdaptorsReq);
REQUEST_SIZE_MATCH(xvQueryAdaptorsReq);
- rc = dixLookupWindow(&pWin, stuff->window, client, DixUnknownAccess);
+ rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess);
if (rc != Success)
return rc;
@@ -718,7 +718,7 @@ ProcXvSelectVideoNotify(ClientPtr client)
REQUEST(xvSelectVideoNotifyReq);
REQUEST_SIZE_MATCH(xvSelectVideoNotifyReq);
- rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixUnknownAccess);
+ rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixReceiveAccess);
if (rc != Success)
return rc;
@@ -835,7 +835,7 @@ ProcXvStopVideo(ClientPtr client)
return (status);
}
- rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixUnknownAccess);
+ rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixWriteAccess);
if (rc != Success)
return rc;