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>
This commit is contained in:
@@ -167,9 +167,9 @@ ProcXIChangeHierarchy(ClientPtr client)
|
|||||||
|
|
||||||
switch(any->type)
|
switch(any->type)
|
||||||
{
|
{
|
||||||
case XICreateMaster:
|
case XIAddMaster:
|
||||||
{
|
{
|
||||||
xXICreateMasterInfo* c = (xXICreateMasterInfo*)any;
|
xXIAddMasterInfo* c = (xXIAddMasterInfo*)any;
|
||||||
char* name;
|
char* name;
|
||||||
|
|
||||||
SWAPIF(swaps(&c->name_len, n));
|
SWAPIF(swaps(&c->name_len, n));
|
||||||
|
|||||||
Reference in New Issue
Block a user