summaryrefslogtreecommitdiff
path: root/hw/vfb
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-01-21 23:43:53 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-01-21 23:44:07 +1030
commitba315ae5ddd00763147a4b0cdcacba7691793dfc (patch)
treed5267e1b1b3971e583391842eeb75820a890b7ae /hw/vfb
parent6492d513c0022d70f838d1b2561442c7a41e401f (diff)
Xi: add XACE hooks for device creation (ChangeDeviceHierarchy)
AddInputDevice checks for permissions already, so all we do is modify a few callers to let AID sort it out.
Diffstat (limited to 'hw/vfb')
-rw-r--r--hw/vfb/InitInput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vfb/InitInput.c b/hw/vfb/InitInput.c
index 99cf56c70..393698f35 100644
--- a/hw/vfb/InitInput.c
+++ b/hw/vfb/InitInput.c
@@ -318,8 +318,8 @@ void
InitInput(int argc, char *argv[])
{
DeviceIntPtr p, k;
- p = AddInputDevice(vfbMouseProc, TRUE);
- k = AddInputDevice(vfbKeybdProc, TRUE);
+ p = AddInputDevice(serverClient, vfbMouseProc, TRUE);
+ k = AddInputDevice(serverClient, vfbKeybdProc, TRUE);
RegisterPointerDevice(p);
RegisterKeyboardDevice(k);
(void)mieqInit();