diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-14 15:17:05 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-14 15:17:05 +0930 |
commit | da728f2127aaa5c1ed5d22bb9f3d0c8ff19e4933 (patch) | |
tree | d61ab23891739afb157cad1b1a81ce7865ede694 | |
parent | a6659291c798f417a76d9aa7944694ff27c01fa7 (diff) |
dix: don't use serverClient in AddInputDevice, use the one supplied instead.
We pass in the client that wants to create the device anyway, lets use the
parameter instead of hardcoding the serverClient.
Wow. I hope this is merge detritus, otherwise it'd be a sign that I didn't
have enough coffee that day.
-rw-r--r-- | dix/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c index 82eece7e0..644ee29a0 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -169,7 +169,7 @@ AddInputDevice(ClientPtr client, DeviceProc deviceProc, Bool autoStart) /* security creation/labeling check */ - if (XaceHook(XACE_DEVICE_ACCESS, serverClient, dev, DixCreateAccess)) { + if (XaceHook(XACE_DEVICE_ACCESS, client, dev, DixCreateAccess)) { xfree(dev); return NULL; } |