From 0b86d30be26838ca4563780eb073e30a14641bc1 Mon Sep 17 00:00:00 2001 From: Christian Linhart Date: Thu, 4 Sep 2014 10:53:16 +0200 Subject: [PATCH] xinput: struct HierarchyChange: full support replace uninterpreted_data by switch-case this is needed by request XIChangeHierarchy. spec: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt?id=inputproto-2.3.1#n1170 code: http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI2.h?id=inputproto-2.3.1#n118 http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI2proto.h?id=inputproto-2.3.1#n444 Message-ID: <1409820801-43629-5-git-send-email-chris@demorecorder.com> Patch-Thread-Subject: [Xcb] xinput: xml-fixes possible with new generator features Patch-Set: XmlFixesNewGenerator Patch-Number: proto 05/10 Patch-Version: V1 Signed-off-by: Christian Linhart --- src/xinput.xml | 41 +++++++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/src/xinput.xml b/src/xinput.xml index 3c36c0b..1909a23 100644 --- a/src/xinput.xml +++ b/src/xinput.xml @@ -47,7 +47,6 @@ which will, e.g., be necessary for server-side xcb. This affects the following: * QueryDeviceState reply field "classes" ( structs InputState, ... ) -* XIChangeHierarchy request field "changes" ( structs HierarchyChange, ... ) * struct XIDeviceInfo field "classes" ( structs DeviceClass, ... ) * SendExtensionEvent member "events" @@ -1534,15 +1533,37 @@ in struct DeviceTimeCoord. - - - - len - 4 - - 4 - - + + type + + AddMaster + + + + + name_len + + + + + RemoveMaster + + + + + + + + AttachSlave + + + + + DetachSlave + + + + -- 2.34.1