diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-06-18 21:02:28 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-06-23 20:50:29 -0400 |
commit | 119b96667778391436998c76a68bf64e746c9e08 (patch) | |
tree | 867e894a7e37cc232ce356c60f17a1beba78f891 /Xi/xiquerypointer.c | |
parent | 07c36e4fdcd93df3d33bdab6cca4780ebc9c1f54 (diff) |
Xi: fix up access modes for calls to dixLookupDevice().
New access modes are being passed to the device access hook for XI2:
DixCreateAccess for creating a new master device;
DixAdd/RemoveAccess for attaching/removing slave devices to a master; and
DixListProp/GetProp/SetPropAccess for device properties.
Refer to the XACE-Spec document in xorg-docs, section "Device Access."
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Diffstat (limited to 'Xi/xiquerypointer.c')
-rw-r--r-- | Xi/xiquerypointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xiquerypointer.c b/Xi/xiquerypointer.c index e770e84fc..2222873aa 100644 --- a/Xi/xiquerypointer.c +++ b/Xi/xiquerypointer.c @@ -91,7 +91,7 @@ ProcXIQueryPointer(ClientPtr client) return BadDevice; } - rc = dixLookupWindow(&pWin, stuff->win, client, DixReadAccess); + rc = dixLookupWindow(&pWin, stuff->win, client, DixGetAttrAccess); if (rc != Success) { SendErrorToClient(client, IReqCode, X_XIQueryPointer, |