[Xcb] [PATCH proto 11/22] xinput: struct ScrollClass.flags: has a mask
Christian Linhart
chris at demorecorder.com
Mon Aug 18 05:59:51 PDT 2014
the field "flags" of struct ScrollClass uses ScrollFlags as a mask
spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt#n802
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI2.h#n151
---
src/xinput.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xinput.xml b/src/xinput.xml
index cd46471..d5abc34 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1443,15 +1443,15 @@ <struct name="KeyClass">
<struct name="ScrollClass">
<field type="CARD16" name="type" enum="DeviceClassType" />
<field type="CARD16" name="len" />
<field type="DeviceId" name="sourceid" />
<field type="CARD16" name="number" />
<field type="CARD16" name="scroll_type" enum="ScrollType" />
<pad bytes="2" />
- <field type="CARD32" name="flags" enum="ScrollFlags" />
+ <field type="CARD32" name="flags" mask="ScrollFlags" />
<field type="FP3232" name="increment" />
</struct>
<struct name="TouchClass">
<field type="CARD16" name="type" enum="DeviceClassType" />
<field type="CARD16" name="len" />
<field type="DeviceId" name="sourceid" />
--
2.0.1
More information about the Xcb
mailing list