summaryrefslogtreecommitdiff
path: root/Xi/stubs.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2009-06-18 21:02:28 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2009-06-23 20:50:29 -0400
commit119b96667778391436998c76a68bf64e746c9e08 (patch)
tree867e894a7e37cc232ce356c60f17a1beba78f891 /Xi/stubs.c
parent07c36e4fdcd93df3d33bdab6cca4780ebc9c1f54 (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/stubs.c')
-rw-r--r--Xi/stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/stubs.c b/Xi/stubs.c
index 229394b93..400e937d1 100644
--- a/Xi/stubs.c
+++ b/Xi/stubs.c
@@ -153,7 +153,7 @@ AddOtherInputDevices(void)
void
OpenInputDevice(DeviceIntPtr dev, ClientPtr client, int *status)
{
- *status = XaceHook(XACE_DEVICE_ACCESS, client, dev, DixReadAccess);
+ *status = XaceHook(XACE_DEVICE_ACCESS, client, dev, DixUseAccess);
}
/****************************************************************************