[Xcb] [PATCH proto 19/22] xinput: ev DeviceKeyStateNotify.device_id: mask
Christian Linhart
chris at demorecorder.com
Mon Aug 18 05:59:59 PDT 2014
add mask "MoreEventsMask" to field "device_id"
spec:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n2239
http://cgit.freedesktop.org/xorg/xserver/tree/dix/enterleave.c#n745
note:
this mask is missing in the following spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n2428
---
src/xinput.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xinput.xml b/src/xinput.xml
index 8376486..9b934a6 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1906,15 +1906,15 @@ <event name="ChangeDeviceNotify" number="12">
<field type="BYTE" name="device_id" />
<field type="TIMESTAMP" name="time" />
<field type="CARD8" name="request" enum="ChangeDevice" />
<pad bytes="23" />
</event>
<event name="DeviceKeyStateNotify" number="13">
- <field type="BYTE" name="device_id" />
+ <field type="BYTE" name="device_id" mask="MoreEventsMask" />
<list type="CARD8" name="keys">
<value>28</value>
</list>
</event>
<event name="DeviceButtonStateNotify" number="14">
<field type="BYTE" name="device_id" />
--
2.0.1
More information about the Xcb
mailing list