summaryrefslogtreecommitdiff
path: root/hw/xquartz/pseudoramiX.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-02-28 16:43:43 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-02-28 16:43:43 -0500
commit27bcf40cda1d7c52b189cc76528f1f51cbe1d5eb (patch)
tree4f10edd5128b84271343ce240bed46a5effada53 /hw/xquartz/pseudoramiX.c
parent453661a9e193a511cf5e54e6d330454163817316 (diff)
XACE: Fix instances of DixUnknownAccess at hook callsites.
Diffstat (limited to 'hw/xquartz/pseudoramiX.c')
-rw-r--r--hw/xquartz/pseudoramiX.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xquartz/pseudoramiX.c b/hw/xquartz/pseudoramiX.c
index 4a9d8e1f1..49d5eb6d4 100644
--- a/hw/xquartz/pseudoramiX.c
+++ b/hw/xquartz/pseudoramiX.c
@@ -179,7 +179,7 @@ static int ProcPseudoramiXGetState(ClientPtr client)
register int n, rc;
REQUEST_SIZE_MATCH(xPanoramiXGetStateReq);
- rc = dixLookupWindow(&pWin, stuff->window, client, DixUnknownAccess);
+ rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess);
if (rc != Success)
return rc;
@@ -206,7 +206,7 @@ static int ProcPseudoramiXGetScreenCount(ClientPtr client)
register int n, rc;
REQUEST_SIZE_MATCH(xPanoramiXGetScreenCountReq);
- rc = dixLookupWindow(&pWin, stuff->window, client, DixUnknownAccess);
+ rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess);
if (rc != Success)
return rc;
@@ -233,7 +233,7 @@ static int ProcPseudoramiXGetScreenSize(ClientPtr client)
register int n, rc;
REQUEST_SIZE_MATCH(xPanoramiXGetScreenSizeReq);
- rc = dixLookupWindow(&pWin, stuff->window, client, DixUnknownAccess);
+ rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess);
if (rc != Success)
return rc;