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/xichangecursor.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/xichangecursor.c')
-rw-r--r-- | Xi/xichangecursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xichangecursor.c b/Xi/xichangecursor.c index 7517d2c2e..dc33d70a1 100644 --- a/Xi/xichangecursor.c +++ b/Xi/xichangecursor.c @@ -95,7 +95,7 @@ int ProcXIChangeCursor(ClientPtr client) else { rc = dixLookupResourceByType((pointer *)&pCursor, stuff->cursor, - RT_CURSOR, client, DixReadAccess); + RT_CURSOR, client, DixUseAccess); if (rc != Success) return (rc == BadValue) ? BadCursor : rc; } |