diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-21 23:43:53 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-21 23:44:07 +1030 |
commit | ba315ae5ddd00763147a4b0cdcacba7691793dfc (patch) | |
tree | d5267e1b1b3971e583391842eeb75820a890b7ae /hw/xnest | |
parent | 6492d513c0022d70f838d1b2561442c7a41e401f (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/xnest')
-rw-r--r-- | hw/xnest/Init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xnest/Init.c b/hw/xnest/Init.c index 7b344e25f..de80cb578 100644 --- a/hw/xnest/Init.c +++ b/hw/xnest/Init.c @@ -89,8 +89,8 @@ InitOutput(ScreenInfo *screenInfo, int argc, char *argv[]) void InitInput(int argc, char *argv[]) { - xnestPointerDevice = AddInputDevice(xnestPointerProc, TRUE); - xnestKeyboardDevice = AddInputDevice(xnestKeyboardProc, TRUE); + xnestPointerDevice = AddInputDevice(serverClient, xnestPointerProc, TRUE); + xnestKeyboardDevice = AddInputDevice(serverClient, xnestKeyboardProc, TRUE); if (!xnestEvents) xnestEvents = (xEvent *) xcalloc(sizeof(xEvent), GetMaximumEventsNum()); |