summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-08-30 14:48:24 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-08-30 14:48:24 -0400
commit1005b29cc6939851b40397cc9cd0de9476ad3046 (patch)
tree5a82876e8e2e67ebfa2dbdc4af468a8201a0646b /dix
parent53f346b158fa8e10de5a8777fa6d8d86f918878b (diff)
xace: Correct some access modes.
Diffstat (limited to 'dix')
-rw-r--r--dix/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/window.c b/dix/window.c
index b6bbdd4cb..70ce2ad9e 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -1396,7 +1396,7 @@ ChangeWindowAttributes(WindowPtr pWin, Mask vmask, XID *vlist, ClientPtr client)
else
{
rc = dixLookupResource((pointer *)&pCursor, cursorID,
- RT_CURSOR, client, DixReadAccess);
+ RT_CURSOR, client, DixUseAccess);
if (rc != Success)
{
error = (rc == BadValue) ? BadCursor : rc;