[Xcb] [PATCH proto 13/22] xinput: ev DeviceKeyPress.state: add mask
Christian Linhart
chris at demorecorder.com
Mon Aug 18 05:59:53 PDT 2014
add mask KeyButMask to field "state"
spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n2271
---
src/xinput.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xinput.xml b/src/xinput.xml
index 466edeb..957427c 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1835,15 +1835,15 @@ <event name="DeviceKeyPress" number="1">
<field type="WINDOW" name="root" />
<field type="WINDOW" name="event" />
<field type="WINDOW" name="child" altenum="Window" />
<field type="INT16" name="root_x" />
<field type="INT16" name="root_y" />
<field type="INT16" name="event_x" />
<field type="INT16" name="event_y" />
- <field type="CARD16" name="state" />
+ <field type="CARD16" name="state" mask="KeyButMask" />
<field type="BOOL" name="same_screen" />
<field type="CARD8" name="device_id" />
</event>
<eventcopy name="DeviceKeyRelease" number="2" ref="DeviceKeyPress" />
<eventcopy name="DeviceButtonPress" number="3" ref="DeviceKeyPress" />
<eventcopy name="DeviceButtonRelease" number="4" ref="DeviceKeyPress" />
--
2.0.1
More information about the Xcb
mailing list