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/xigetclientpointer.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/xigetclientpointer.c')
-rw-r--r-- | Xi/xigetclientpointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xigetclientpointer.c b/Xi/xigetclientpointer.c index 859d3fd00..401e89fb4 100644 --- a/Xi/xigetclientpointer.c +++ b/Xi/xigetclientpointer.c @@ -68,7 +68,7 @@ int ProcXIGetClientPointer(ClientPtr client) if (stuff->win != None) { rc = dixLookupClient(&winclient, stuff->win, client, - DixWriteAccess); + DixGetAttrAccess); if (rc != Success) return BadWindow; |