diff options
author | Benjamin Close <benjamin.close@clearchain.com> | 2009-04-16 15:33:30 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-21 13:11:51 +1000 |
commit | 826a5bff0136b2b4d55a9e6e6bc3a7a64da9031e (patch) | |
tree | b8add91f05025d005404fb800bffac255a6cc3b4 /Xi | |
parent | e2e5932bda3f473629d4be6f3ca4dcab18993eb6 (diff) |
dix: Change AllocMaster into AllocDevicePair, allow creation of SDs too.
Allocating a slave device is essentially the same as allocating a master device.
Hence we rename AllocMaster to AllocDevicePair and provided the ability to
indicate if a master or slave device pair is required.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/chdevhier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/chdevhier.c b/Xi/chdevhier.c index 9a8582916..5c8b36906 100644 --- a/Xi/chdevhier.c +++ b/Xi/chdevhier.c @@ -108,7 +108,7 @@ ProcXChangeDeviceHierarchy(ClientPtr client) strncpy(name, (char*)&c[1], c->namelen); - rc = AllocMasterDevice(client, name, &ptr, &keybd); + rc = AllocDevicePair(client, name, &ptr, &keybd, TRUE); if (rc != Success) { xfree(name); |