From: Christian Linhart Date: Thu, 4 Sep 2014 08:53:16 +0000 (+0200) Subject: xinput: struct HierarchyChange: full support X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b86d30be26838ca4563780eb073e30a14641bc1;hp=186d877b0082abca1397256babbdc5fc668e78e6;p=free-sw%2Fxcb%2Fproto 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 --- 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 + + + +