[Xcb] [PATCH proto 18/22] xinput: ev DeviceStateNotify.device_id: mask
Christian Linhart
chris at demorecorder.com
Mon Aug 18 05:59:58 PDT 2014
add mask "MoreEventsMask" to field "device_id"
spec and code:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n2214
http://cgit.freedesktop.org/xorg/xserver/tree/dix/enterleave.c#n725
note:
this mask is missing in the following spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n2395
---
src/xinput.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xinput.xml b/src/xinput.xml
index 2dfa591..8376486 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1866,15 +1866,15 @@ <event name="DeviceFocusIn" number="6">
</event>
<eventcopy name="DeviceFocusOut" number="7" ref="DeviceFocusIn" />
<eventcopy name="ProximityIn" number="8" ref="DeviceKeyPress" />
<eventcopy name="ProximityOut" number="9" ref="DeviceKeyPress" />
<event name="DeviceStateNotify" number="10">
- <field type="BYTE" name="device_id" />
+ <field type="BYTE" name="device_id" mask="MoreEventsMask" />
<field type="TIMESTAMP" name="time" />
<field type="CARD8" name="num_keys" />
<field type="CARD8" name="num_buttons" />
<field type="CARD8" name="num_valuators" />
<field type="CARD8" name="classes_reported" />
<list type="CARD8" name="buttons">
<value>4</value>
--
2.0.1
More information about the Xcb
mailing list