summaryrefslogtreecommitdiff
path: root/Xi/chdevhier.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-08 13:41:22 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-09 10:34:30 +1000
commit810b74dbbcc1db3e68e0f95ff5223ddb2032e46d (patch)
tree05519794c7cb14ab064a4627b3732119863ee3cc /Xi/chdevhier.c
parent0e66a443a09176b8a875195d5473b953c07aa1d7 (diff)
Xi: change from XICreateMaster to XIAddMaster for consistency.
add/remove is used for slave devices and hierarchy flags. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/chdevhier.c')
-rw-r--r--Xi/chdevhier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xi/chdevhier.c b/Xi/chdevhier.c
index bd3da08d7..e2903f1c5 100644
--- a/Xi/chdevhier.c
+++ b/Xi/chdevhier.c
@@ -167,9 +167,9 @@ ProcXIChangeHierarchy(ClientPtr client)
switch(any->type)
{
- case XICreateMaster:
+ case XIAddMaster:
{
- xXICreateMasterInfo* c = (xXICreateMasterInfo*)any;
+ xXIAddMasterInfo* c = (xXIAddMasterInfo*)any;
char* name;
SWAPIF(swaps(&c->name_len, n));